Fixed buffer overflow.
[agg.git] / fail.h
blobe697312453728bfdb6848c33d99f18db7409244d
1 #ifndef AGG_FAIL_H
2 #define AGG_FAIL_H
4 enum error
6 ERR_TYPE = 1, /* unknown feed type */
7 ERR_INVALID = 2, /* invalid feed contents */
8 ERR_OOPS = 10, /* something bad happened */
9 ERR_EXPAT = 11, /* expat's XML_Parse failed */
10 ERR_STACK = 12 /* internal: Stack fucked up */
13 void fail(enum error type);
15 #endif