[][src]Function openthread_sys::otHeapSetCAllocFree

pub unsafe extern "C" fn otHeapSetCAllocFree(
    aCAlloc: otHeapCAllocFn,
    aFree: otHeapFreeFn
)

This function sets the external heap CAlloc and Free functions to be used by the OpenThread stack.

This function must be used before invoking instance initialization.

@param[in] aCAlloc A pointer to external CAlloc function. @param[in] aFree A pointer to external Free function.