Reformat
This commit is contained in:
parent
98829b8400
commit
86fe867011
@ -25,9 +25,9 @@ struct allocator {
|
||||
MemFreeFunc *free;
|
||||
};
|
||||
|
||||
|
||||
#define wapp_mem_allocator_invalid(ALLOCATOR) (memcmp(ALLOCATOR, &((Allocator){0}), sizeof(Allocator)) == 0)
|
||||
|
||||
|
||||
void *wapp_mem_allocator_alloc(const Allocator *allocator, u64 size);
|
||||
void *wapp_mem_allocator_alloc_aligned(const Allocator *allocator, u64 size, u64 alignment);
|
||||
void *wapp_mem_allocator_realloc(const Allocator *allocator, void *ptr, u64 old_size, u64 new_size);
|
||||
|
Loading…
Reference in New Issue
Block a user