summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'src/lxml/python.pxd')
-rw-r--r--src/lxml/python.pxd3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd
index c63de17e..11cd5485 100644
--- a/src/lxml/python.pxd
+++ b/src/lxml/python.pxd
@@ -1,4 +1,5 @@
from libc cimport stdio
+from libc.string cimport const_char
cimport cython
cdef extern from "Python.h":
@@ -126,7 +127,7 @@ cdef extern from "pythread.h":
cdef extern from "etree_defs.h": # redefines some functions as macros
cdef bint _isString(object obj)
- cdef char* _fqtypename(object t)
+ cdef const_char* _fqtypename(object t)
cdef object PY_NEW(object t)
cdef bint IS_PYTHON3
cdef bint IS_PYPY