[cairo-commit] cairo/util cairo-api-update,1.2,1.3

Carl Worth commit at pdx.freedesktop.org
Fri May 6 21:33:25 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/util
In directory gabe:/tmp/cvs-serv9297/util

Modified Files:
	cairo-api-update 
Log Message:

        * configure.in:

        * src/cairo-features.h.in: Change definitions of everything in
        cairo-features.h to prefer #if over #ifdef.

        * src/cairo-atsui.h:
        * src/cairo-cache.c:
        * src/cairo-ft-private.h:
        * src/cairo-ft.h:
        * src/cairo-glitz.h:
        * src/cairo-pdf.h:
        * src/cairo-ps.h:
        * src/cairo-quartz.h:
        * src/cairo-win32.h:
        * src/cairo-xcb.h:
        * src/cairo-xlib.h:
        * src/cairo.c:
        * src/cairo.h:
        * src/cairoint.h:
        * test/cairo-test.c: Track #ifdef -> #if changes.

        * util/cairo-api-update: Add support to automatically change all
        #ifdef CAIRO_HAS to #if CAIRO_HAS.


Index: cairo-api-update
===================================================================
RCS file: /cvs/cairo/cairo/util/cairo-api-update,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cairo-api-update	6 May 2005 20:32:53 -0000	1.2
+++ cairo-api-update	7 May 2005 04:33:22 -0000	1.3
@@ -51,6 +51,7 @@
 		s/CAIRO_OPERATOR_IN_REVERSE/CAIRO_OPERATOR_DEST_IN/g
 		s/CAIRO_OPERATOR_OUT_REVERSE/CAIRO_OPERATOR_DEST_OUT/g
 		s/CAIRO_OPERATOR_ATOP_REVERSE/CAIRO_OPERATOR_DEST_ATOP/g
+		s/^#\([ 	]*\)ifdef[ 	]*CAIRO_HAS/#\1if CAIRO_HAS/g
 		' $backup > $file
 }
 




More information about the cairo-commit mailing list