diff options
Diffstat (limited to 'include/lib/mpmalloc.h')
-rw-r--r-- | include/lib/mpmalloc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/lib/mpmalloc.h b/include/lib/mpmalloc.h new file mode 100644 index 0000000..4f1bb47 --- /dev/null +++ b/include/lib/mpmalloc.h @@ -0,0 +1,17 @@ +#ifndef MPMALLOC_H +#define MPMALLOC_H + +#ifdef __cplusplus +extern "C" { +#endif + +void* mpcalloc(size_t nmemb, size_t size); +void* mpmalloc(size_t size); +void* mprealloc(void* addr, size_t size); +void mpfree(void* addr); + +#ifdef __cplusplus +} +#endif + +#endif |