Difference between revisions of "NewtonSetMemorySystem"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
NewtonSetMemorySystem
void NewtonSetMemorySystem (NewtonAllocMemory malloc, NewtonFreeMemory free)
Usage
Tells newton library, to use a custom memory manager.
Parameters
- NewtonAllocMemory malloc - pointer to memory allocation function
- NewtonFreeMemory free - pointer to memory deallocation function
Return
- (Procedure)
Remarks
If you just pass NULL, the standard malloc and free functions will be used, it is not neccesary to call this function at all.