[tex-live] xreallocarray

Hartmut Henkel hartmut_henkel at gmx.de
Wed Jun 15 20:18:22 CEST 2005


would it be difficult or dangerous to add to cpascal.h the line

#define xreallocarray(ptr,type,size) ((type*)xrealloc(ptr,(size+1)*sizeof(type)))

right below the line with xmallocarray, and to common.defines the line

@define function xreallocarray ();

again right below the line with xmallocarray? This would allow me to use
xrealloc_array in pdftex web, e. g. for dynamic growth of pdf_mem...

Thanks for help!

Regards, Hartmut

More information about the tex-live mailing list