Remove aligned_alloc from libc allocator since it's not implemented on Windows

This commit is contained in:
abdelrahman committed 2024-10-05 19:11:13 +01:00
1 parent d8c7b3162f
commit 1ddc5610f9
2 files changed
+11 -6

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
TestFuncResult test_libc_allocator(void) {
Allocator allocator = wapp_mem_libc_allocator();
bool result = allocator.obj == NULL && allocator.alloc != NULL &&
allocator.alloc_aligned != NULL && allocator.realloc != NULL &&
allocator.alloc_aligned == NULL && allocator.realloc != NULL &&
allocator.realloc_aligned == NULL && allocator.free != NULL;
void *ptr = wapp_mem_allocator_alloc(&allocator, 20);
result = result && (ptr != NULL);