Custom Memory Allocation

Type Aliases

A3DPtr (* A3DCallbackMemoryAlloc
A3DVoid (* A3DCallbackMemoryFree

Functions

A3DStatus A3DDllSetCallbacksMemory()

Detailed Description

group a3d_malloc_functions

Specifies custom memory-allocation functions.

This section describes the function and types that enable you to specify custom memory-allocation functions that the library uses in place of the standard malloc and free functions.

Type Alias Documentation

typedef A3DPtr (*A3DCallbackMemoryAlloc)(size_t)

A callback function the library invokes to allocate memory.

Version
2.0

typedef A3DVoid (*A3DCallbackMemoryFree)(A3DPtr)

A callback function the library invokes to free memory.

Version
2.0

Function Documentation