00001 //---------------------------------------------------------------------------- 00002 /** @file SgMemCheck.h 00003 Memory leak checks. */ 00004 //---------------------------------------------------------------------------- 00005 00006 #ifndef SG_MEMCHECK_H 00007 #define SG_MEMCHECK_H 00008 00009 //---------------------------------------------------------------------------- 00010 00011 /** Check for memory leaks. 00012 Checks allocation counters of classes that support it with an assertion. 00013 Call this at the end of your program, when all class instances should 00014 have been destructed. */ 00015 void SgMemCheck(); 00016 00017 //---------------------------------------------------------------------------- 00018 00019 #endif // SG_MEMCHECK_H 00020