[cairo] Adding a boolean type
Carl Worth
cworth at cworth.org
Tue Feb 1 09:16:37 PST 2005
On Tue, 01 Feb 2005 08:48:52 -0800, Keith Packard wrote:
> If we use cairo_bool_t solely for return values (and I think we should
> try), then we can avoid exposing the #define's and leave CAIRO_TRUE/
> CAIRO_FALSE in cairoint.h for now, moving them if necessary at a later
> date.
That sounds like consensus to me. Anyone that cares to should feel
free to implement and commit the following:
cairo.h:
typedef int cairo_bool_t;
cairoint.h:
#define CAIRO_FALSE 0
#define CAIRO_TRUE 1
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050201/6f2585e5/attachment.pgp
More information about the cairo
mailing list