SRB2/tools/wadzip/xm.h

5 lines
196 B
C
Raw Normal View History

2014-03-15 16:59:03 +00:00
void *xm(size_t size, size_t nmemb);
void *xr(void *p, size_t size, size_t nmemb);
void *xpnd(void *p, int nit, int *sit, size_t sz);
#define XPND(p, num, spc) (p = xpnd(p, num, &spc, sizeof *p))