MCPcopy Create free account
hub / github.com/anjo76/angelscript / InstallMemoryManager

Function InstallMemoryManager

sdk/tests/test_feature/source/utils.cpp:208–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void InstallMemoryManager()
209{
210#ifdef TRACK_LOCATIONS
211 assert( strstr(asGetLibraryOptions(), " AS_DEBUG ") );
212#endif
213
214 asSetGlobalMemoryFunctions((asALLOCFUNC_t)MyAllocWithStats, MyFreeWithStats);
215}
216
217void PrintAllocIndices()
218{

Callers 2

test_compiler.cppFile · 0.85
allTestsFunction · 0.85

Calls 2

asGetLibraryOptionsFunction · 0.85

Tested by

no test coverage detected