qmsk/net/py.pxd
changeset 22 f6e8d5e37998
parent 20 0e4933d5862e
child 50 da394bb715af
--- a/qmsk/net/py.pxd	Mon Aug 17 19:40:23 2009 +0300
+++ b/qmsk/net/py.pxd	Mon Aug 17 20:24:12 2009 +0300
@@ -7,6 +7,18 @@
     ## refcounting
     void Py_XDECREF (PyObject *obj)
 
+    ## object protocol
+    # __richcompare__ constants
+    enum :
+        Py_LT
+        Py_LE
+        Py_EQ
+        Py_NE
+        Py_GT
+        Py_GE
+
+    PyObject *Py_NotImplemented
+
     ## string stuff
     int PyObject_AsCharBuffer (object obj, char **buf, ssize_t *len) except -1