[cairo-commit] pycairo/cairo cairomodule.c,1.54,1.55
Steve Chaplin
commit at pdx.freedesktop.org
Wed Aug 16 07:30:44 PDT 2006
- Previous message: [cairo-commit] pycairo/cairo __init__.py, 1.4, 1.5 __init__.py.in,
1.3, NONE
- Next message: [cairo-commit] pycairo ChangeLog, 1.232, 1.233 configure.ac, 1.53,
1.54 RELEASING, 1.19, 1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: stevech1097
Update of /cvs/cairo/pycairo/cairo
In directory kemper:/tmp/cvs-serv12123/cairo
Modified Files:
cairomodule.c
Log Message:
'SC'
Index: cairomodule.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/cairomodule.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- cairomodule.c 1 Jul 2006 08:05:52 -0000 1.54
+++ cairomodule.c 16 Aug 2006 14:30:42 -0000 1.55
@@ -35,6 +35,11 @@
#endif
#include "pycairo-private.h"
+#define VERSION_MAJOR 1
+#define VERSION_MINOR 2
+#define VERSION_MICRO 1
+static char pycairo_version_string[] = "1.2.1";
+
/* A module specific exception */
PyObject *CairoError = NULL;
@@ -222,6 +227,11 @@
m = Py_InitModule("cairo._cairo", cairo_functions);
+ PyModule_AddStringConstant(m, "version", pycairo_version_string);
+ PyModule_AddObject(m, "version_info",
+ Py_BuildValue("(iii)", VERSION_MAJOR, VERSION_MINOR,
+ VERSION_MICRO));
+
Py_INCREF(&PycairoContext_Type);
PyModule_AddObject(m, "Context", (PyObject *)&PycairoContext_Type);
Py_INCREF(&PycairoFontFace_Type);
- Previous message: [cairo-commit] pycairo/cairo __init__.py, 1.4, 1.5 __init__.py.in,
1.3, NONE
- Next message: [cairo-commit] pycairo ChangeLog, 1.232, 1.233 configure.ac, 1.53,
1.54 RELEASING, 1.19, 1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list