From 86fe867011f001902583874090e2b1d45dae2531 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 9 Feb 2025 18:21:36 +0000 Subject: [PATCH] Reformat --- src/core/mem/allocator/mem_allocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/mem/allocator/mem_allocator.h b/src/core/mem/allocator/mem_allocator.h index 498f8ce..acbaf6e 100644 --- a/src/core/mem/allocator/mem_allocator.h +++ b/src/core/mem/allocator/mem_allocator.h @@ -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);