Commit 6314797d authored by Lars Buitinck's avatar Lars Buitinck

"nogil" for C++ casts

--HG--
extra : transplant_source : %E0%C5%BDo%E6%D5GJ%92%14m%88%03%1C%B1%0B%1B%1B%98%C4
parent 9431c661
...@@ -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