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)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: usize, _: u32, _: *const i8))

Some value of type T.