[][src]Function esp_idf_bindgen::multi_heap_aligned_alloc

pub unsafe extern "C" fn multi_heap_aligned_alloc(
    heap: multi_heap_handle_t,
    size: size_t,
    alignment: size_t
) -> *mut c_void

@brief allocate a chunk of memory with specific alignment

@param heap Handle to a registered heap. @param size size in bytes of memory chunk @param alignment how the memory must be aligned

@return pointer to the memory allocated, NULL on failure