mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-26 03:00:17 +01:00
Merge branch 'fix-cairo-status-is-error' into 'master'
Add missing parentheses to _cairo_status_is_error and _cairo_int_status_is_error See merge request cairo/cairo!161
This commit is contained in:
commit
3c00a849f6
1 changed files with 2 additions and 2 deletions
|
|
@ -112,10 +112,10 @@ enum _cairo_int_status {
|
|||
typedef enum _cairo_int_status cairo_int_status_t;
|
||||
|
||||
#define _cairo_status_is_error(status) \
|
||||
(status != CAIRO_STATUS_SUCCESS && status < CAIRO_STATUS_LAST_STATUS)
|
||||
((status) != CAIRO_STATUS_SUCCESS && (status) < CAIRO_STATUS_LAST_STATUS)
|
||||
|
||||
#define _cairo_int_status_is_error(status) \
|
||||
(status != CAIRO_INT_STATUS_SUCCESS && status < CAIRO_INT_STATUS_LAST_STATUS)
|
||||
((status) != CAIRO_INT_STATUS_SUCCESS && (status) < CAIRO_INT_STATUS_LAST_STATUS)
|
||||
|
||||
cairo_private cairo_status_t
|
||||
_cairo_error (cairo_status_t status);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue