pdf_util.h

changeset 59
e8821eb2fb08
child 62
9bd354b83e16
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pdf_util.h	Thu Feb 20 12:16:00 2003 +0000
     1.3 @@ -0,0 +1,11 @@
     1.4 +void pdf_fatal (char *fmt, ...);
     1.5 +
     1.6 +void *pdf_calloc (long int size);
     1.7 +
     1.8 +char *pdf_strdup (char *s);
     1.9 +
    1.10 +#define pdf_assert(cond) do \
    1.11 +    { \
    1.12 +      if (! (cond)) \
    1.13 +        pdf_fatal ("assert at %s(%d)\n", __FILE__, __LINE__); \
    1.14 +    } while (0)