Leaked source code of windows server 2003
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.
|
|
#ifndef __CRTFREE_H_
#define __CRTFREE_H_
//
// Code to help free modules from the bondage and tyranny of CRT libraries
//
// Include this header in a single component and #define CPP_FUNCTIONS
//
void * __cdecl operator new(size_t nSize) { // Zero init just to save some headaches
return((LPVOID)LocalAlloc(LPTR, nSize)); }
void __cdecl operator delete(void *pv) { LocalFree((HLOCAL)pv); }
extern "C" int __cdecl _purecall(void) {return 0;}
#endif // __CRTFREE_H_
|