[−][src]Function esp_idf_sys::multi_heap_malloc
pub unsafe extern "C" fn multi_heap_malloc(
heap: multi_heap_handle_t,
size: usize
) -> *mut c_void
@brief malloc() a buffer in a given heap
Semantics are the same as standard malloc(), only the returned buffer will be allocated in the specified heap.
@param heap Handle to a registered heap. @param size Size of desired buffer.
@return Pointer to new memory, or NULL if allocation fails.