Function Memory.systemMemHandler

SystemMemHandler -- Internal System MemHandler.

static int systemMemHandler (
  Memory memory,
  MemHandler* mmh,
  va_toolbox.memory.MemHandlerData* mhd
);

Tries to expunge some libs and devices.

Parameters

NameDescription
memory Pointer to Memory
mmh Pointer to MemHandler
mhd Pointer to MemHandlerData, allocation flags required for pending allocation

Returns

A MemHandler return value.

Example

none

Notes

Remember to set sys_MemHandler to null, if AllocMem() is called. This will reset the current handler ptr.

See

AddMemHandler(), RemMemHandler(), CallMemHandlers()