[cairo-commit] pycairo/cairo pycairo.h,1.39,1.40

Steve Chaplin commit at pdx.freedesktop.org
Sun Jun 5 20:58:04 PDT 2005


Committed by: stevech1097

Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv16059/cairo

Modified Files:
	pycairo.h 
Log Message:
SC

Index: pycairo.h
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- pycairo.h	1 Jun 2005 12:38:11 -0000	1.39
+++ pycairo.h	6 Jun 2005 03:58:00 -0000	1.40
@@ -78,6 +78,9 @@
 #define PycairoPSSurface    PycairoSurface
 #define PycairoWin32Surface PycairoSurface
 
+/* get C object out of the Python wrapper */
+#define PycairoContext_GET(obj)    (((PycairoContext *)(obj))->ctx)
+
 /* Define structure for C API. */
 typedef struct {
     /* (type object, constructor) pairs */




More information about the cairo-commit mailing list