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

  1. #include <windows.h>
  2. #define malloc(size) gluAlloc((UINT)(size))
  3. #define calloc(nobj, size) gluCalloc((UINT)(nobj), (UINT)(size))
  4. #define realloc(p, size) gluReAlloc((HLOCAL)(p), (UINT)(size))
  5. #define free(p) LocalFree((HLOCAL)(p))
  6. HLOCAL gluAlloc (UINT size);
  7. HLOCAL gluCalloc (UINT nobj, UINT size);
  8. HLOCAL gluReAlloc (HLOCAL p, UINT size);