Commit 94e1b05e authored by Robert Bradshaw's avatar Robert Bradshaw

Merge pull request #330 from larsmans/nogil-casting

"nogil" for C++ casts
parents 80ebf7c1 b2010232
...@@ -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