defined why2_malloc

it will be technically just malloc with adding the allocated memory to linked list of something like that; you get the idea
This commit is contained in:
Václav Šmejkal 2023-01-29 20:27:19 +01:00
parent 9c7f40a825
commit 2bfec0be95
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -1 +1,10 @@
#include <why2/memory.h>
#include <stdlib.h>
void *why2_malloc(unsigned long size)
{
//TODO: Add linked list
return malloc(size);
}