[cairo] Update CAIRO_STATUS_LAST_STATUS

A couple of new errors have been added without updating the LAST_STATUS
value...
This commit is contained in:
Chris Wilson 2008-01-03 23:00:27 +00:00
parent c67d99787c
commit b796a2f69d
2 changed files with 2 additions and 1 deletions

View file

@ -67,7 +67,7 @@ static const cairo_t _cairo_nil = {
* a bit of a pain, but it should be easy to always catch as long as
* one adds a new test case to test a trigger of the new status value.
*/
#define CAIRO_STATUS_LAST_STATUS CAIRO_STATUS_INVALID_INDEX
#define CAIRO_STATUS_LAST_STATUS CAIRO_STATUS_TEMP_FILE_ERROR
/**
* _cairo_error:

View file

@ -236,6 +236,7 @@ typedef enum _cairo_status {
CAIRO_STATUS_INVALID_INDEX,
CAIRO_STATUS_CLIP_NOT_REPRESENTABLE,
CAIRO_STATUS_TEMP_FILE_ERROR
/* after adding a new error: update CAIRO_STATUS_LAST_STATUS in cairo.c */
} cairo_status_t;
/**