MCPcopy Create free account
hub / github.com/CytopiaTeam/Cytopia / SetMemoryFunctions

Method SetMemoryFunctions

external/as_add_on/scriptgrid/scriptgrid.cpp:19–23  ·  view source on GitHub ↗

Allows the application to set which memory routines should be used by the array object

Source from the content-addressed store, hash-verified

17
18// Allows the application to set which memory routines should be used by the array object
19void CScriptGrid::SetMemoryFunctions(asALLOCFUNC_t allocFunc, asFREEFUNC_t freeFunc)
20{
21 userAlloc = allocFunc;
22 userFree = freeFunc;
23}
24
25static void RegisterScriptGrid_Native(asIScriptEngine *engine);
26

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected