Merge ssh://192.168.66.221/~vitor/Yap/yap-6.3
This commit is contained in:
45
CXX/_yap/stlcontainers.pyx
Normal file
45
CXX/_yap/stlcontainers.pyx
Normal file
@@ -0,0 +1,45 @@
|
||||
###################
|
||||
### WARNING!!! ###
|
||||
###################
|
||||
# This file has been autogenerated
|
||||
|
||||
# Cython imports
|
||||
from cython.operator cimport dereference as deref
|
||||
from cython.operator cimport preincrement as inc
|
||||
from libc.stdlib cimport malloc, free
|
||||
from libc.string cimport memcpy
|
||||
from libcpp.string cimport string as std_string
|
||||
from libcpp.utility cimport pair
|
||||
from libcpp.map cimport map as cpp_map
|
||||
from libcpp.set cimport set as cpp_set
|
||||
from libcpp cimport bool as cpp_bool
|
||||
from libcpp.vector cimport vector as cpp_vector
|
||||
from cpython.version cimport PY_MAJOR_VERSION
|
||||
|
||||
# Python Imports
|
||||
import collections
|
||||
|
||||
cimport numpy as np
|
||||
import numpy as np
|
||||
|
||||
np.import_array()
|
||||
|
||||
cimport xdress_extra_types
|
||||
|
||||
# Cython Imports For Types
|
||||
|
||||
|
||||
# Imports For Types
|
||||
|
||||
|
||||
if PY_MAJOR_VERSION >= 3:
|
||||
basestring = str
|
||||
|
||||
# Dirty ifdef, else, else preprocessor hack
|
||||
# see http://comments.gmane.org/gmane.comp.python.cython.user/4080
|
||||
cdef extern from *:
|
||||
cdef void emit_ifpy2k "#if PY_MAJOR_VERSION == 2 //" ()
|
||||
cdef void emit_ifpy3k "#if PY_MAJOR_VERSION == 3 //" ()
|
||||
cdef void emit_else "#else //" ()
|
||||
cdef void emit_endif "#endif //" ()
|
||||
|
||||
Reference in New Issue
Block a user