From 714024ea3e239cd23d59ca59bbccd0404eb35e93 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 21 Apr 2012 23:40:29 +0200 Subject: rewrite of node matcher to remove code duplication and make it PyPy compatible --- src/lxml/python.pxd | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lxml/python.pxd') 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 -- cgit v1.2.1