summaryrefslogtreecommitdiff
path: root/Cython/Includes
diff options
context:
space:
mode:
authorLisandro Dalcin <dalcinl@gmail.com>2011-02-24 13:49:52 -0300
committerLisandro Dalcin <dalcinl@gmail.com>2011-02-24 13:49:52 -0300
commit5251c9134a545c63f95ce1484beb6db0b51cb2eb (patch)
treed9d092a18e45341d41ee0d1a90457b96922b4a46 /Cython/Includes
parent4a598d1c9c438e59c71b3431f39b1350c5d611cb (diff)
downloadcython-5251c9134a545c63f95ce1484beb6db0b51cb2eb.tar.gz
nogil for functions in locale.pxd and math.pxd
Diffstat (limited to 'Cython/Includes')
-rw-r--r--Cython/Includes/libc/locale.pxd2
-rw-r--r--Cython/Includes/libc/math.pxd2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Includes/libc/locale.pxd b/Cython/Includes/libc/locale.pxd
index dca3a05d3..0106bc92f 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 1c2d66d44..0398c3baf 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