defined why2_realloc
This commit is contained in:
parent
8af6bd45c3
commit
c487d4eeee
@ -80,6 +80,15 @@ void *why2_calloc(unsigned long element, unsigned long size)
|
||||
return allocated;
|
||||
}
|
||||
|
||||
void *why2_realloc(void *pointer, unsigned long size)
|
||||
{
|
||||
void *allocated = realloc(pointer, size);
|
||||
|
||||
push_to_list(allocated);
|
||||
|
||||
return allocated;
|
||||
}
|
||||
|
||||
void why2_free(void *pointer)
|
||||
{
|
||||
//VARIABLES
|
||||
|
Loading…
x
Reference in New Issue
Block a user