[cairo] char* vs. unsigned char*

Carl Worth cworth at cworth.org
Mon Apr 4 07:52:55 PDT 2005


On Mon, 04 Apr 2005 10:42:03 -0400, Carl Worth wrote:
> But data, such as in cairo_set_target_image may see arithmetic, so
> perhaps it should be unsigned char*. That would give compatibility
> with freetype, libpng, Xlib, and zlib which all expect unsigned char*
> data.

Drat. Xlib actually has char* data within XImage. I just can't
win. (It was unsigned width/height that I was thinking of when I put
Xlib in the list above).

-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/20050404/291e5d0f/attachment.pgp


More information about the cairo mailing list