Synopsis
#include <pslib.h>
PSDoc * PS_new2((void (*errorhandler)(PSDoc *p, int type, const char *msg), void* (*allocproc)(PSDoc *p, size_t size, const char *caller), void* (*reallocproc)(PSDoc *p, void *mem, size_t size, const char *caller), void (*freeproc)(PSDoc *p, void *mem), void *opaque)