defined why2_realloc

This commit is contained in:
Václav Šmejkal 2023-01-31 15:52:46 +01:00
parent 8af6bd45c3
commit c487d4eeee
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -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