defined why2_calloc & why2_free

same thing as why2_malloc
This commit is contained in:
Václav Šmejkal 2023-01-29 20:36:54 +01:00
parent 3491d89a86
commit e075c022fa
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -7,4 +7,18 @@ void *why2_malloc(unsigned long size)
//TODO: Add linked list
return malloc(size);
}
void *why2_calloc(unsigned long element, unsigned long size)
{
//TODO: Add linked list
return calloc(element, size);
}
void why2_free(void *pointer)
{
//TODO: Add linked list
free(pointer);
}