static void SF_STDCALL DestroyArena(UPInt arena);
DestroyArena destroys the memory arena created for the heap. The memory arena should be empty before calling DestroyArena (checked by ArenaIsEmpty) otherwise the method will fail at an assertion in the debug mode or crash in the release mode at "return *(int*)0;"
Parameters |
Description |
UPInt arena |
Id of the memory arena that needs to be destroyed. |