NewtonAllocMemory

From Newton Wiki
Jump to: navigation, search

NewtonAllocMemory

typedef void* (*NewtonAllocMemory) (int sizeInBytes);

Usage

When custom memory manager is used, this is the malloc() function.

Parameters

  • int sizeInBytes Amout of bytes that need to be allocated

Return

  • Pointer to the allocated memory block.


Remarks

  • This is not a library function, but a callback event.

See also

NewtonSetMemorySystem