equal
deleted
inserted
replaced
3 cdef extern from "Python.h" : |
3 cdef extern from "Python.h" : |
4 ctypedef struct PyObject : |
4 ctypedef struct PyObject : |
5 pass |
5 pass |
6 |
6 |
7 ## refcounting |
7 ## refcounting |
|
8 # XXX: does this make cython do some dumb refcounting stuff for the object arg? |
|
9 void Py_INCREF (object o) |
|
10 void Py_DECREF (object o) |
|
11 |
8 void Py_XDECREF (PyObject *obj) |
12 void Py_XDECREF (PyObject *obj) |
9 |
13 |
10 ## object protocol |
14 ## object protocol |
11 # __richcompare__ constants |
15 # __richcompare__ constants |
12 enum : |
16 enum : |