aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma_native_error.w32.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgamma_native_error.w32.pyx')
-rw-r--r--src/libgamma_native_error.w32.pyx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libgamma_native_error.w32.pyx b/src/libgamma_native_error.w32.pyx
index 673da5d..abef314 100644
--- a/src/libgamma_native_error.w32.pyx
+++ b/src/libgamma_native_error.w32.pyx
@@ -35,7 +35,7 @@ cannot be determined.
'''
-cdef extern void libgamma_perror(const char* name, int error_code)
+cdef extern void libgamma_perror(const char* name, int error_code) nogil
'''
Prints an error to stderr in a `perror` fashion,
however this function will not translate the `libgamma`
@@ -54,7 +54,7 @@ and, if known, its name.
@param value The error code, may be an `errno` value.
'''
-cdef extern const char* libgamma_name_of_error(int value)
+cdef extern const char* libgamma_name_of_error(int value) nogil
'''
Returns the name of the definition associated with a `libgamma` error code.
@@ -64,7 +64,7 @@ Returns the name of the definition associated with a `libgamma` error code.
should not be `free`:d.
'''
-cdef extern int libgamma_value_of_error(const char* name)
+cdef extern int libgamma_value_of_error(const char* name) nogil
'''
Return the value of a `libgamma` error definition refered to by name.