Commit b2010232 authored by Lars Buitinck's avatar Lars Buitinck

"nogil" for C++ casts

parent 88df97f2
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# than the standard C cast operator which can be written "<T>(expression)" in # than the standard C cast operator which can be written "<T>(expression)" in
# Cython. # Cython.
cdef extern from *: cdef extern from * nogil:
cdef T dynamic_cast[T](void *) except + # nullptr may also indicate failure cdef T dynamic_cast[T](void *) except + # nullptr may also indicate failure
cdef T static_cast[T](void *) cdef T static_cast[T](void *)
cdef T reinterpret_cast[T](void *) cdef T reinterpret_cast[T](void *)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment