summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
authorscoder <none@none>2008-05-21 21:45:48 +0200
committerscoder <none@none>2008-05-21 21:45:48 +0200
commit5f96d2e227ef076dc11a28f791b54ced41409526 (patch)
treec641ef162073a56450214639a899e744cc8fa5a5 /src/lxml/python.pxd
parent661d96aa85c6bc74ae54847bacfcac95eec3aedd (diff)
downloadpython-lxml-5f96d2e227ef076dc11a28f791b54ced41409526.tar.gz
[svn r3694] r4252@delle: sbehnel | 2008-05-20 22:09:08 +0200
lots of Py3 fixes --HG-- branch : trunk
Diffstat (limited to 'src/lxml/python.pxd')
-rw-r--r--src/lxml/python.pxd1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd
index 6642e378..0249a98a 100644
--- a/src/lxml/python.pxd
+++ b/src/lxml/python.pxd
@@ -37,6 +37,7 @@ cdef extern from "Python.h":
cdef object PyUnicode_AsUTF8String(object ustring)
cdef char* PyUnicode_AS_DATA(object ustring)
cdef Py_ssize_t PyUnicode_GET_DATA_SIZE(object ustring)
+ cdef Py_ssize_t PyUnicode_GET_SIZE(object ustring)
cdef object PyString_FromStringAndSize(char* s, Py_ssize_t size)
cdef object PyString_FromString(char* s)
cdef object PyString_FromFormat(char* format, ...)