[cairo-commit] cairo-perl ChangeLog, 1.89, 1.90 CairoSurface.xs, 1.24, 1.25

Torsten Schoenfeld commit at pdx.freedesktop.org
Sun Feb 10 10:36:35 PST 2008


Committed by: tsch

Update of /cvs/cairo/cairo-perl
In directory kemper:/tmp/cvs-serv25214

Modified Files:
	ChangeLog CairoSurface.xs 
Log Message:
	* CairoSurface.xs
	* t/CairoSurface.t: Wrap cairo_format_stride_for_width.  Adapt to
	API changes: cairo_surface_copy_page and cairo_surface_show_page
	don't return cairo_status_t anymore.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-perl/ChangeLog,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- ChangeLog	10 Feb 2008 18:02:33 -0000	1.89
+++ ChangeLog	10 Feb 2008 18:36:33 -0000	1.90
@@ -1,5 +1,10 @@
 2008-02-10  Torsten Schoenfeld  <kaffeetisch at gmx.de>
 
+	* CairoSurface.xs
+	* t/CairoSurface.t: Wrap cairo_format_stride_for_width.  Adapt to
+	API changes: cairo_surface_copy_page and cairo_surface_show_page
+	don't return cairo_status_t anymore.
+
 	* CairoPath.xs: Fix the tied interface for paths on perl 5.6,
 	whose magic support was slightly broken.  Also cleanup the tie
 	code a bit.

Index: CairoSurface.xs
===================================================================
RCS file: /cvs/cairo/cairo-perl/CairoSurface.xs,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- CairoSurface.xs	7 Jan 2008 17:41:01 -0000	1.24
+++ CairoSurface.xs	10 Feb 2008 18:36:33 -0000	1.25
@@ -316,11 +316,11 @@
 
 #endif
 
-#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE (1, 5, 2) /* FIXME: 1.6 */
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE (1, 5, 8) /* FIXME: 1.6 */
 
-cairo_status_t cairo_surface_copy_page (cairo_surface_t *surface);
+void cairo_surface_copy_page (cairo_surface_t *surface);
 
-cairo_status_t cairo_surface_show_page (cairo_surface_t *surface);
+void cairo_surface_show_page (cairo_surface_t *surface);
 
 #endif
 
@@ -610,3 +610,15 @@
 	RETVAL
 
 #endif
+
+# --------------------------------------------------------------------------- #
+
+#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 8) /* FIXME: 1.6 */
+
+MODULE = Cairo::Surface	PACKAGE = Cairo::Format	PREFIX = cairo_format_
+
+=for apidoc __function__
+=cut
+int cairo_format_stride_for_width (cairo_format_t format, int width);
+
+#endif



More information about the cairo-commit mailing list