chiark / gitweb /
debian/control: Add Build-Depends for `dh-python'.
[mLib-python] / defs.pxi
index cec2d8654e20278c4468d881c4588c9a064a6a17..b14b8559d27cbc52687bf7c6374d34ea767206b2 100644 (file)
--- a/defs.pxi
+++ b/defs.pxi
@@ -102,6 +102,7 @@ cdef extern from 'Python.h':
   object PyLong_FromUnsignedLong(unsigned long i)
   char *PyString_AS_STRING(string)
   int _PyString_Resize(PyObject **string, int size) except -1
   object PyLong_FromUnsignedLong(unsigned long i)
   char *PyString_AS_STRING(string)
   int _PyString_Resize(PyObject **string, int size) except -1
+  void PyErr_Clear()
 
   void Py_INCREF(PyObject *obj)
   void Py_DECREF(PyObject *obj)
 
   void Py_INCREF(PyObject *obj)
   void Py_DECREF(PyObject *obj)