[cairo-commit] pycairo/cairo pycairo-private.h,1.43,1.44
Steve Chaplin
commit at pdx.freedesktop.org
Wed Dec 12 04:14:21 PST 2007
Committed by: stevech1097
Update of /cvs/cairo/pycairo/cairo
In directory kemper:/tmp/cvs-serv7550/cairo
Modified Files:
pycairo-private.h
Log Message:
'SC'
Index: pycairo-private.h
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-private.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- pycairo-private.h 16 Jan 2007 14:59:34 -0000 1.43
+++ pycairo-private.h 12 Dec 2007 12:14:19 -0000 1.44
@@ -103,21 +103,6 @@
int Pycairo_Check_Status (cairo_status_t status);
-/* Python 2.4 compatibility */
-#if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 4
-# define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
-# define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True
-# define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
-# define Py_CLEAR(op) \
- do { \
- if (op) { \
- PyObject *tmp = (PyObject *)(op); \
- (op) = NULL; \
- Py_DECREF(tmp); \
- } \
- } while (0)
-#endif /* PY_MAJOR_VERSION */
-
/* Python 2.5 compatibility */
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
More information about the cairo-commit
mailing list