mirror of
https://github.com/microsoft/DTrace-on-Windows
synced 2026-06-08 15:56:04 +00:00
17 lines
318 B
C
17 lines
318 B
C
//
|
|
// Copyright (C) Microsoft. All rights reserved.
|
|
//
|
|
#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);
|
|
}
|
|
|
|
|