my own PDF routines to replace Panda.
This commit is contained in:
11
pdf_util.h
Normal file
11
pdf_util.h
Normal 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)
|
||||
Reference in New Issue
Block a user