[cairo-commit] pycairo/cairo cairomodule.c, 1.40, 1.41 pycairo.h, 1.38, 1.39

Steve Chaplin commit at pdx.freedesktop.org
Wed Jun 1 05:38:13 PDT 2005


Committed by: stevech1097

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

Modified Files:
	cairomodule.c pycairo.h 
Log Message:
SC

Index: cairomodule.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/cairomodule.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- cairomodule.c	1 Jun 2005 12:29:02 -0000	1.40
+++ cairomodule.c	1 Jun 2005 12:38:11 -0000	1.41
@@ -105,6 +105,7 @@
     &PycairoPattern_Type,      PycairoPattern_FromPattern,
     &PycairoScaledFont_Type,   PycairoScaledFont_FromScaledFont,
 
+    &PycairoSurface_Type,
     &PycairoImageSurface_Type,
 #ifdef CAIRO_HAS_PDF_SURFACE
     &PycairoPDFSurface_Type,

Index: pycairo.h
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- pycairo.h	1 Jun 2005 12:29:02 -0000	1.38
+++ pycairo.h	1 Jun 2005 12:38:11 -0000	1.39
@@ -95,6 +95,7 @@
     PyTypeObject *ScaledFont_Type;
     PyObject *(*ScaledFont_FromScaledFont)(cairo_scaled_font_t *scaled_font);
 
+    PyTypeObject *Surface_Type;
     PyTypeObject *ImageSurface_Type;
     PyTypeObject *PDFSurface_Type;
     PyTypeObject *PSSurface_Type;
@@ -124,6 +125,7 @@
 #define PycairoScaledFont_FromScaledFont \
         (Pycairo_CAPI->ScaledFont_FromScaledFont)
 
+#define PycairoSurface_Type         *(Pycairo_CAPI->Surface_Type)
 #define PycairoImageSurface_Type    *(Pycairo_CAPI->ImageSurface_Type)
 
 #if CAIRO_HAS_PDF_SURFACE




More information about the cairo-commit mailing list