[cairo-commit] libpixman/src pixman-xserver-compat.h,1.2,1.3
Carl Worth
commit at pdx.freedesktop.org
Thu Mar 3 13:54:42 PST 2005
Committed by: cworth
Update of /cvs/cairo/libpixman/src
In directory gabe:/tmp/cvs-serv12737/src
Modified Files:
pixman-xserver-compat.h
Log Message:
* src/pixman-xserver-compat.h (BoxRec, BoxPtr, Bool, TRUE, FALSE):
Add a few more things that might be helpful when moving more files
over from xserver.
Index: pixman-xserver-compat.h
===================================================================
RCS file: /cvs/cairo/libpixman/src/pixman-xserver-compat.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pixman-xserver-compat.h 2 Mar 2005 15:44:53 -0000 1.2
+++ pixman-xserver-compat.h 3 Mar 2005 21:54:40 -0000 1.3
@@ -49,14 +49,19 @@
/* Then, define any names that the server code will be expecting in
* terms of libpixman names. */
-typedef pixman_bits_t FbBits;
-typedef pixman_image_t* PicturePtr;
-
typedef uint8_t CARD8;
typedef uint16_t CARD16;
-
typedef int16_t INT16;
+typedef int Bool;
+#define FALSE 0
+#define TRUE 1
+
+typedef pixman_bits_t FbBits;
+typedef pixman_image_t* PicturePtr;
+typedef pixman_box16_t BoxRec;
+typedef pixman_box16_t* BoxPtr;
+
typedef pixman_point_fixed_t xPointFixed;
typedef pixman_line_fixed_t xLineFixed;
typedef pixman_trapezoid_t xTrapezoid;
More information about the cairo-commit
mailing list