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

"Enrico Weigelt, metux IT consult" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 29.12.2015 17:08, Chris Wilson wrote:

>>  COMPILE_TIME_ASSERT ((int)CAIRO_INT_STATUS_LAST_STATUS == (int)CAIRO_STATUS_LAST_STATUS);
>> +
>> +const char* cairo_status_text(cairo_status_t status)
> 
> May I introduce you to cairo_status_to_string()?

Yeah, didn't know it when I wrote that patch, and just forgot to
drop it yet.

OTOH, both functions cant decode the internal status codes yet,
perhaps we should change that.


--mtx

--
Enrico Weigelt,
metux IT consulting
+49-151-27565287
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.