[cairo-commit] pycairo/cairo pycairo-surface.c,1.78,1.79

Steve Chaplin commit at pdx.freedesktop.org
Sun Jul 2 20:25:28 PDT 2006


Committed by: stevech1097

Update of /cvs/cairo/pycairo/cairo
In directory kemper:/tmp/cvs-serv30879/cairo

Modified Files:
	pycairo-surface.c 
Log Message:
'SC'

Index: pycairo-surface.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-surface.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- pycairo-surface.c	1 Jul 2006 08:05:52 -0000	1.78
+++ pycairo-surface.c	3 Jul 2006 03:25:26 -0000	1.79
@@ -594,7 +594,7 @@
  * format.
  */
 static PyObject *
-image_surface_to_rgba (PycairoImageSurface *o)
+image_surface_get_data_as_rgba (PycairoImageSurface *o)
 {
     PyObject *buf;
     unsigned char *data;
@@ -639,7 +639,8 @@
     {"get_height",    (PyCFunction)image_surface_get_height,     METH_NOARGS},
     {"get_width",     (PyCFunction)image_surface_get_width,      METH_NOARGS},
     {"get_stride",    (PyCFunction)image_surface_get_stride,     METH_NOARGS},
-    {"to_rgba",       (PyCFunction)image_surface_to_rgba,        METH_NOARGS},
+    {"get_data_as_rgba",(PyCFunction)image_surface_get_data_as_rgba,
+                                                                 METH_NOARGS},
     {NULL, NULL, 0, NULL},
 };
 



More information about the cairo-commit mailing list