diff options
Diffstat (limited to 'include/almalloc.h')
-rw-r--r-- | include/almalloc.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/almalloc.h b/include/almalloc.h new file mode 100644 index 00000000..355db795 --- /dev/null +++ b/include/almalloc.h @@ -0,0 +1,18 @@ +#ifndef AL_MALLOC_H +#define AL_MALLOC_H + +#include <stddef.h> + +#ifdef __cplusplus +extern "C" { +#endif + +void *al_malloc(size_t alignment, size_t size); +void *al_calloc(size_t alignment, size_t size); +void al_free(void *ptr); + +#ifdef __cplusplus +} +#endif + +#endif /* AL_MALLOC_H */ |