chiark / gitweb /
debian/control: Add Build-Depends for `dh-python'.
[mLib-python] / defs.pxi
index bfb4dcc..b14b855 100644 (file)
--- a/defs.pxi
+++ b/defs.pxi
@@ -98,11 +98,11 @@ cdef extern from 'Python.h':
   object PyString_FromStringAndSize(char *p, Py_ssize_t len)
   int PyString_AsStringAndSize(obj, char **p, Py_ssize_t *len) except -1
   int PyObject_AsReadBuffer(obj, void **buf, Py_ssize_t *len) except -1
-  int PyObject_TypeCheck(obj, ty)
   object PyInt_FromLong(long i)
   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)