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.
 
 
 
 
 
 

11 lines
337 B

#ifdef HEAPSIG
void *operator new(unsigned sz, char * szFile, unsigned short usLineNo);
// void *operator new(size_t sz, char * szFile, unsigned short usLineNo);
void heapstat( int status );
void uiHeapDump(void);
#define NEW new (__FILE__, __LINE__)
#define UIHEAPWALK atexit(uiHeapDump)
#else
#define NEW new
#define UIHEAPWALK
#endif