[cairo] Re: [PATCH] return write error from cairo_*_surface_create() if output file cannot be created

Behdad Esfahbod behdad at behdad.org
Thu Feb 8 15:30:33 PST 2007


On Sat, 2007-01-27 at 19:50 +0100, Eugeniy Meshcheryakov wrote:
> 26 січня 2007 о 18:23 -0500 Behdad Esfahbod написав(-ла):
> > On Wed, 2007-01-24 at 17:35 -0500, Eugeniy Meshcheryakov wrote:
> > > 
> > > cairo-nil-surface-macro.diff:
> > > 
> > > Adds macro for nil surfaces definition and uses it to define existing
> > > surfaces. 
> > 
> > I suggest you drop the symbol concatenation and take the full symbol
> > name as the second arg, so it's searchable.
> It's done. New patches attached.
>  
> > Another problem with your patch is that it returns an image surface, for
> > ps/pdf/svg create functions.
> If it is really a problem (I do not think so), then it is a problem of
> existing code and not my patch. I do not think that this is a problem,
> because returned surface can only be used for getting status.

Thanks.  Committed.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list