Re: [PATCH 05/51] core: helper function for converting cairo_status_t to human-readable text (like strerror)
Bill Spitzak <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAL-8oAh00d9kJQHNKnk7KUe=papMs+2RMYOcHjEOpBmmTG9kWQ@mail.gmail.com> |
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 < [email protected]> 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 > -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo