[cairo] [PATCH] pdf: Quell warning comparing cairo_status_t and _cairo_int_status types

Bryce Harrington bryce at bryceharrington.org
Thu Jun 20 10:29:22 PDT 2013


On Thu, Jun 20, 2013 at 11:14:01AM +0100, Chris Wilson wrote:
> The goal here is to use cairo_int_status_t consistently for internal
> error reporting, with the cast to cairo_status_t on the boundary (e.g.
> when it gets reported via a public function, or set on an object). At
> the boundary, we then check that the error is a legal public
> cairo_status_t.
> 
> So I dropped this patch in favour of converting function returns to
> cairo_int_status_t.
> -Chris

Okay, sounds good.  I wondered about doing that, but it sounded more
invasive.  Thanks for clarifying.
 
> -- 
> Chris Wilson, Intel Open Source Technology Centre
> -- 
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list