Type Alias esp_idf_sys::esp_alloc_failed_hook_t
source · pub type esp_alloc_failed_hook_t = Option<unsafe extern "C" fn(size: usize, caps: u32, function_name: *const c_char)>;
Expand description
@brief callback called when an allocation operation fails, if registered @param size in bytes of failed allocation @param caps capabilities requested of failed allocation @param function_name function which generated the failure
Aliased Type§
enum esp_alloc_failed_hook_t {
None,
Some(unsafe extern "C" fn(_: usize, _: u32, _: *const i8)),
}