Thu, 20 Feb 2003 12:21:10 +0000
my own PDF routines to replace Panda.
eric@59 | 1 | void pdf_fatal (char *fmt, ...); |
eric@59 | 2 | |
eric@59 | 3 | void *pdf_calloc (long int size); |
eric@59 | 4 | |
eric@59 | 5 | char *pdf_strdup (char *s); |
eric@59 | 6 | |
eric@59 | 7 | #define pdf_assert(cond) do \ |
eric@59 | 8 | { \ |
eric@59 | 9 | if (! (cond)) \ |
eric@59 | 10 | pdf_fatal ("assert at %s(%d)\n", __FILE__, __LINE__); \ |
eric@59 | 11 | } while (0) |