Skip to content

Commit 9f19519

Browse files
committed
Fix compilation warnings under Cython 0.29.10
1 parent 7a0f8fb commit 9f19519

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

uvloop/includes/python.pxd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ cdef extern from "Python.h":
33

44
unicode PyUnicode_FromString(const char *)
55

6-
void* PyMem_RawMalloc(size_t n)
7-
void* PyMem_RawRealloc(void *p, size_t n)
8-
void* PyMem_RawCalloc(size_t nelem, size_t elsize)
9-
void PyMem_RawFree(void *p)
6+
void* PyMem_RawMalloc(size_t n) nogil
7+
void* PyMem_RawRealloc(void *p, size_t n) nogil
8+
void* PyMem_RawCalloc(size_t nelem, size_t elsize) nogil
9+
void PyMem_RawFree(void *p) nogil
1010

1111
object PyUnicode_EncodeFSDefault(object)
1212
void PyErr_SetInterrupt() nogil

0 commit comments

Comments
 (0)