Function leap_sys::LeapSetAllocator
source · [−]pub unsafe extern "C" fn LeapSetAllocator(
hConnection: LEAP_CONNECTION,
allocator: *const LEAP_ALLOCATOR
) -> eLeapRS
Expand description
\ingroup Functions Sets the allocator functions to use for a particular connection.
If user-supplied allocator functions are not supplied, the functions that require dynamic memory allocation will not be available.
@param hConnection A handle to the connection object, created by LeapCreateConnection(). @param allocator A pointer to a structure containing the allocator functions to be called as needed by the library. @since 4.0.0