Spaces:
Running
Running
# Defines the standard C++ cast operators. | |
# | |
# Due to type restrictions, these are only defined for pointer parameters, | |
# Cython. | |
cdef extern from * nogil: | |
cdef T dynamic_cast[T](void *) except + | |
cdef T static_cast[T](void *) | |
cdef T reinterpret_cast[T](void *) | |
cdef T const_cast[T](void *) | |