NewtonFreeMemory

From Newton Wiki
Revision as of 08:02, 10 June 2019 by Unknown user (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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