diff --git a/pixman/ChangeLog b/pixman/ChangeLog index 74228ec00..796101be4 100644 --- a/pixman/ChangeLog +++ b/pixman/ChangeLog @@ -1,3 +1,9 @@ +2005-03-03 Carl Worth + + * 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. + 2005-03-03 Carl Worth * src/icint.h: diff --git a/pixman/src/pixman-xserver-compat.h b/pixman/src/pixman-xserver-compat.h index 9b327758b..6ee83737a 100644 --- a/pixman/src/pixman-xserver-compat.h +++ b/pixman/src/pixman-xserver-compat.h @@ -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;