X-Git-Url: https://git.distorted.org.uk/~mdw/mLib-python/blobdiff_plain/f0bf14e99b8ee5581c826fa857676440de2846c4..c316167fdcbce41e8cc731e8c19cb00f53c1b9cd:/defs.pxi diff --git a/defs.pxi b/defs.pxi index cec2d86..b14b855 100644 --- 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 + void PyErr_Clear() void Py_INCREF(PyObject *obj) void Py_DECREF(PyObject *obj)