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:
parent
9c7f40a825
commit
2bfec0be95
@ -1 +1,10 @@
|
||||
#include <why2/memory.h>
|
||||
#include <why2/memory.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
void *why2_malloc(unsigned long size)
|
||||
{
|
||||
//TODO: Add linked list
|
||||
|
||||
return malloc(size);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user