Re: [PATCH 50/51] core: changed retval of _cairo_composite_rectangles_init_for_mask() to cairo_bool_t
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Dec 18, 2015 at 02:29:29PM +0100, Enrico Weigelt, metux IT consult wrote: Honestly, I prefer the interface to be consistent (i.e. all the functions for the operations return the same type), consistent in error propagation, and returning the status allows for more flexibilty in future. At the moment the callsites are essentially: test; cjmp; undo stack; ret afterwards they become; test; cjmp; undo stack; mov NOTHING_TO_DO, eax; ret or more likely; test; cjmp -> ret becomes test; cjmp; mov NOTHING_TO_DO, eax; jmp -> ret -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo