[cairo] char* vs. unsigned char*

Jim Gettys Jim.Gettys at hp.com
Mon Apr 4 10:21:44 PDT 2005


That part of Xlib is 18 years old, and that interface is badly broken to
boot (I got badly interrupted to get on an airplane to put out a
political firestorm at that point in building Xlib.

Mere mortals should not be using Xlib anyway: make things mesh well with
toolkits, not with Xlib.
				- Jim


On Mon, 2005-04-04 at 10:52 -0400, Carl Worth wrote:
> 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
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.freedesktop.org/mailman/listinfo/cairo




More information about the cairo mailing list