Difference between revisions of "NewtonFreeMemory"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

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.

See also

NewtonSetMemorySystem