Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

10 lines
368 B

#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);