[cairo] png streams

Dominic Lachowicz domlachowicz at gmail.com
Wed Feb 15 17:07:46 PST 2006


Hi,

> output function looks like this:
>
> cairo_status_t output (void *closure, unsigned char *data, unsigned int length)

The prototype for cairo_write_func_t in CVS uses "const unsigned char
*data". That may be your problem.

typedef cairo_status_t (*cairo_write_func_t) (void		  *closure,
					      const unsigned char *data,
					      unsigned int	   length);

Best,
Dom
--
Counting bodies like sheep to the rhythm of the war drums.


More information about the cairo mailing list