Azure Kinect Sensor SDK  refs/heads/release/1.4.x
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ k4a_memory_allocate_cb_t

typedef uint8_t*() k4a_memory_allocate_cb_t(int size, void **context)

Callback function for a memory allocation.

Parameters
sizeMinimum size in bytes needed for the buffer.
contextOutput parameter for a context that will be provided in the subsequent call to the k4a_memory_destroy_cb_t callback.
Returns
A pointer to the newly allocated memory.
Remarks
A callback of this type is provided when there is an application defined allocator.