rockbox/apps/plugins/pdbox/dbestfit-3.3/dmalloc.h
Peter D'Hoye 3ca0614de9 Next round of pdbox patches from Wincent Balin: adapt dbestfit to rockbox, ifdef some printfs, and more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21095 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 21:07:40 +00:00

12 lines
261 B
C

void *dmalloc(size_t);
void dfree(void *);
void *drealloc(void *, size_t);
#define malloc(x) dmalloc(x)
#define free(x) dfree(x)
#define realloc(x,y) drealloc(x,y)
#ifdef ROCKBOX
void *dcalloc(size_t, size_t);
#define calloc(x,y) dcalloc(x,y)
#endif