windows-nt/Source/XPSP1/NT/multimedia/opengl/glu/inc/winmem.h

11 lines
368 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include <windows.h>
#define malloc(size) gluAlloc((UINT)(size))
#define calloc(nobj, size) gluCalloc((UINT)(nobj), (UINT)(size))
#define realloc(p, size) gluReAlloc((HLOCAL)(p), (UINT)(size))
#define free(p) LocalFree((HLOCAL)(p))
HLOCAL gluAlloc (UINT size);
HLOCAL gluCalloc (UINT nobj, UINT size);
HLOCAL gluReAlloc (HLOCAL p, UINT size);