You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
256 B
13 lines
256 B
#include <windows.h>
|
|
|
|
void * zcalloc (void *opaque, unsigned items, unsigned size)
|
|
{
|
|
return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size*items);
|
|
}
|
|
|
|
void zcfree (void *opaque, void *ptr)
|
|
{
|
|
HeapFree(GetProcessHeap(), 0, ptr);
|
|
}
|
|
|
|
|