summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2012-04-21 23:40:29 +0200
committerStefan Behnel <stefan_ml@behnel.de>2012-04-21 23:40:29 +0200
commit714024ea3e239cd23d59ca59bbccd0404eb35e93 (patch)
tree6617d191ba58cc8de2e4ee2e12b13f4f3df005b5 /src/lxml/python.pxd
parent7dcdd7c3341e42b7c3ad95bb6476a611e8dfee33 (diff)
downloadpython-lxml-714024ea3e239cd23d59ca59bbccd0404eb35e93.tar.gz
rewrite of node matcher to remove code duplication and make it PyPy compatible
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 af857caa..d21d214e 100644
--- a/src/lxml/python.pxd
+++ b/src/lxml/python.pxd
@@ -98,6 +98,7 @@ cdef extern from "Python.h":
# some handy functions
cdef int callable "PyCallable_Check" (object obj)
cdef char* _cstr "PyBytes_AS_STRING" (object s)
+ cdef char* __cstr "PyBytes_AS_STRING" (PyObject* s)
# Py_buffer related flags
cdef int PyBUF_SIMPLE