add tcalloc

This commit is contained in:
Holger Vogt 2017-11-05 10:30:34 +01:00
parent 63be4bc81b
commit 94be38cf93
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@
extern void *tmalloc(size_t num);
extern void *trealloc(const void *str, size_t num);
extern void *tcalloc(size_t num, size_t stype);
extern void txfree(const void *ptr);
#define tfree(x) (txfree(x), (x) = 0)