1
0
mirror of synced 2026-05-02 14:30:17 +00:00

my own PDF routines to replace Panda.

This commit is contained in:
Eric Smith
2003-02-20 12:16:00 +00:00
parent a5267b2507
commit 756965ce0f
9 changed files with 1278 additions and 0 deletions

11
pdf_util.h Normal file
View File

@@ -0,0 +1,11 @@
void pdf_fatal (char *fmt, ...);
void *pdf_calloc (long int size);
char *pdf_strdup (char *s);
#define pdf_assert(cond) do \
{ \
if (! (cond)) \
pdf_fatal ("assert at %s(%d)\n", __FILE__, __LINE__); \
} while (0)