]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
include/svgtiny.h: add new error constant svgtiny_LIBCSS_ERROR
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 4 Oct 2023 03:50:00 +0000 (23:50 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 4 Oct 2023 03:50:00 +0000 (23:50 -0400)
Analogous to svgtiny_LIBDOM_ERROR, we add svgtiny_LIBCSS_ERROR to
indicate an error related to CSS.

include/svgtiny.h

index 85f146f5e6aa9869e4c6094f9688c396a15c4502..d44e8119372ffd2c4cd2e5e10422a8fc11df18e6 100644 (file)
@@ -47,7 +47,8 @@ typedef enum {
        svgtiny_OUT_OF_MEMORY,
        svgtiny_LIBDOM_ERROR,
        svgtiny_NOT_SVG,
-       svgtiny_SVG_ERROR
+       svgtiny_SVG_ERROR,
+       svgtiny_LIBCSS_ERROR
 } svgtiny_code;
 
 enum {