X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/741f7410ed5c67e4a2641925bd22eb71c85a39cf..HEAD:/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)