diff options
Diffstat (limited to 'include/lib/mem/galloc.h')
-rw-r--r-- | include/lib/mem/galloc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/lib/mem/galloc.h b/include/lib/mem/galloc.h new file mode 100644 index 0000000..8c773cd --- /dev/null +++ b/include/lib/mem/galloc.h @@ -0,0 +1,11 @@ +#ifndef INC_LIB_MEM_GALLOC_H +#define INC_LIB_MEM_GALLOC_H + +#include <sys/types.h> + +void *g_malloc(size_t size); +void *g_calloc(size_t n_memb, size_t size); +void g_free(void *); +ssize_t g_outstanding_allocations(); + +#endif |