h4-advanced-allocators #9
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
|||
void *hallocy_allocate(size_t size, bool zero_memory);
|
||||
|
||||
static inline void *hallocy_malloc(size_t size) { return hallocy_allocate(size, false); }
|
||||
static inline void *hallocy_calloc(size_t size, size_t count) { return hallocy_allocate(size * count, true); }
|
||||
HallocyError hallocy_free(void *pointer);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Reference in a new issue