NewtonFreeMemory
NewtonFreeMemory
typedef void (*NewtonFreeMemory) (void* const ptr, int sizeInBytes)
Usage
When custom memory manager is used, this is the free() memory function. Callback function that is called by Newton function(s): NewtonSetMemorySystem
Parameters
- *ptr pointer to the block that is being freed
- int sizeInBytes Number of bytes in that block to free.
Return
- void
Description
Remarks
- This is not a library function, but a callback event.