summaryrefslogtreecommitdiff
path: root/src/cairo.h
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2016-03-26 07:24:26 +1030
committerAdrian Johnson <ajohnson@redneon.com>2016-03-26 19:04:44 +1030
commitc5ee3f11b5fb5a652466bbe407d2dc8e0ef4eb71 (patch)
tree663ed2fd42060e355da2bdff763f00d1bb2a8076 /src/cairo.h
parent72c9a022ac2f1b9c9afa349e0977dcd89fa56f2d (diff)
downloadcairo-c5ee3f11b5fb5a652466bbe407d2dc8e0ef4eb71.tar.gz
Add CAIRO_STATUS_PNG_ERROR for errors returned by libpng
Diffstat (limited to 'src/cairo.h')
-rw-r--r--src/cairo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo.h b/src/cairo.h
index 3104d47e4..a1808bd8e 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -292,6 +292,7 @@ typedef struct _cairo_user_data_key {
* @CAIRO_STATUS_DEVICE_FINISHED: target device has been finished (Since 1.12)
* @CAIRO_STATUS_JBIG2_GLOBAL_MISSING: %CAIRO_MIME_TYPE_JBIG2_GLOBAL_ID has been used on at least one image
* but no image provided %CAIRO_MIME_TYPE_JBIG2_GLOBAL (Since 1.14)
+ * @CAIRO_STATUS_PNG_ERROR: error occurred in libpng while reading from or writing to a PNG file (Since 1.16)
* @CAIRO_STATUS_LAST_STATUS: this is a special value indicating the number of
* status values defined in this enumeration. When using this value, note
* that the version of cairo at run-time may have additional status values
@@ -348,6 +349,7 @@ typedef enum _cairo_status {
CAIRO_STATUS_INVALID_MESH_CONSTRUCTION,
CAIRO_STATUS_DEVICE_FINISHED,
CAIRO_STATUS_JBIG2_GLOBAL_MISSING,
+ CAIRO_STATUS_PNG_ERROR,
CAIRO_STATUS_LAST_STATUS
} cairo_status_t;