summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
authorscoder <none@none>2006-06-04 21:49:36 +0200
committerscoder <none@none>2006-06-04 21:49:36 +0200
commit23a8eb75b867391db0bc2fc0b9d1cbc28ce88bf2 (patch)
treeae525886db9afecb71911c1c9e4007a136ad5950 /src/lxml/python.pxd
parentaf0003aa14a4593d1cfeb749819a3dc906121c9f (diff)
downloadpython-lxml-23a8eb75b867391db0bc2fc0b9d1cbc28ce88bf2.tar.gz
[svn r1409] reverted to start new branch instead (too experimental)
--HG-- branch : trunk
Diffstat (limited to 'src/lxml/python.pxd')
-rw-r--r--src/lxml/python.pxd10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd
index 06ff3c50..61704f75 100644
--- a/src/lxml/python.pxd
+++ b/src/lxml/python.pxd
@@ -2,7 +2,6 @@ from tree cimport FILE
cdef extern from "Python.h":
ctypedef struct PyObject
- ctypedef struct PyThreadState
ctypedef int size_t
ctypedef int Py_ssize_t
cdef int INT_MAX
@@ -57,15 +56,6 @@ cdef extern from "Python.h":
cdef void* PyMem_Malloc(size_t size)
cdef void PyMem_Free(void* p)
- ctypedef enum PyGILState_STATE:
- PyGILState_LOCKED
- PyGILState_UNLOCKED
-
- cdef PyGILState_STATE PyGILState_Ensure()
- cdef void PyGILState_Release(PyGILState_STATE state)
- cdef PyThreadState* PyEval_SaveThread()
- cdef void PyEval_RestoreThread(PyThreadState* state)
-
cdef extern from "etree.h": # redefines some functions as macros
cdef int _isString(object obj)
cdef int isinstance(object instance, object classes)