From: Lisandro Dalcin Date: Thu, 24 Feb 2011 16:49:52 +0000 (-0300) Subject: nogil for functions in locale.pxd and math.pxd X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5251c9134a545c63f95ce1484beb6db0b51cb2eb;p=cython.git nogil for functions in locale.pxd and math.pxd --- diff --git a/Cython/Includes/libc/locale.pxd b/Cython/Includes/libc/locale.pxd index dca3a05d..0106bc92 100644 --- a/Cython/Includes/libc/locale.pxd +++ b/Cython/Includes/libc/locale.pxd @@ -3,7 +3,7 @@ cdef extern from *: ctypedef char const_char "const char" -cdef extern from "locale.h": +cdef extern from "locale.h" nogil: struct lconv: char *decimal_point diff --git a/Cython/Includes/libc/math.pxd b/Cython/Includes/libc/math.pxd index 1c2d66d4..0398c3ba 100644 --- a/Cython/Includes/libc/math.pxd +++ b/Cython/Includes/libc/math.pxd @@ -1,4 +1,4 @@ -cdef extern from "math.h": +cdef extern from "math.h" nogil: enum: M_E enum: M_LOG2E