[cairo] Making cairo_error weak

Keith Packard keithp at keithp.com
Wed Aug 17 08:37:30 PDT 2005

On Wed, 2005-08-17 at 10:27 -0500, Billy Biggs wrote:
> Keith Packard (keithp at keithp.com):
> > On Wed, 2005-08-17 at 03:50 -0400, Behdad Esfahbod wrote:
> > 
> > > All I really want is to be able to get a message printed when I'm
> > > developing something with Cairo.  
> > 
> > If we consider cairo errors as bugs in applications, we should have
> > the error function print out a message by default.
>    ... and then you'll need API to be able to shut it off when
> necessary (due to bugs in cairo).

I've been fairly happy using environment variables to control diagnostic
printfs of this nature. It means you can see problems even when the
application developer hasn't made any provisions for such.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050817/4e586dd6/attachment.pgp

More information about the cairo mailing list