A3DDllSetCallbacksMemory

A3DStatus A3DDllSetCallbacksMemory(A3DCallbackMemoryAlloc, A3DCallbackMemoryFree)
A3DStatus A3DDllSetCallbacksMemory(A3DCallbackMemoryAlloc **, :c:type:`~A3DCallbackMemoryFree` **)

Specifies custom memory-allocation functions This function specifies callback functions the library uses for memory allocation and and deallocation.

If this function is not called, the standard malloc and free functions are used for memory allocation and deallocation.

2.0

Returns

A3D_SUCCESS on success, or an error code on failure