[cairo] [PATCH 05/51] core: helper function for converting cairo_status_t to human-readable text (like strerror)

Bill Spitzak spitzak at gmail.com
Fri Dec 18 11:44:17 PST 2015


I was figuring that functions are not supposed to ever return LAST_STATUS
as an error, so it is just as wrong as returning LAST_STATUS+1 and should
display in a similar way.


On Fri, Dec 18, 2015 at 10:42 AM, Enrico Weigelt, metux IT consult <
enrico.weigelt at gr13.net> wrote:

> On 18.12.2015 19:25, Bill Spitzak wrote:
> > I think LAST_STATUS should print a number, not a message.
>
> hmm, what practical improvement does that give us ?
> if such case really happens, we've got an error anyways,
> and in those cases it would be easier if we do not have to
> look up the meaning of the number, IMHO.
>
> --mtx
>
> --
> Enrico Weigelt,
> metux IT consulting
> +49-151-27565287
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20151218/c86c41d5/attachment.html>


More information about the cairo mailing list