mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-06 17:28:02 +02:00
Add explanation to enum _cairo_int_status
Patch based on suggestion by Homer Hsing Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50416
This commit is contained in:
parent
19b31bbe70
commit
be206ddf20
1 changed files with 5 additions and 2 deletions
|
|
@ -46,10 +46,13 @@
|
||||||
|
|
||||||
CAIRO_BEGIN_DECLS
|
CAIRO_BEGIN_DECLS
|
||||||
|
|
||||||
/* Sure wish C had a real enum type so that this would be distinct
|
/* _cairo_int_status: internal status
|
||||||
|
*
|
||||||
|
* Sure wish C had a real enum type so that this would be distinct
|
||||||
* from #cairo_status_t. Oh well, without that, I'll use this bogus 100
|
* from #cairo_status_t. Oh well, without that, I'll use this bogus 100
|
||||||
* offset. We want to keep it fit in int8_t as the compiler may choose
|
* offset. We want to keep it fit in int8_t as the compiler may choose
|
||||||
* that for #cairo_status_t */
|
* that for #cairo_status_t
|
||||||
|
*/
|
||||||
enum _cairo_int_status {
|
enum _cairo_int_status {
|
||||||
CAIRO_INT_STATUS_SUCCESS = 0,
|
CAIRO_INT_STATUS_SUCCESS = 0,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue