Skip to main content

pbuf_free_custom_fn

Type Alias pbuf_free_custom_fn 

Source
pub type pbuf_free_custom_fn = Option<unsafe extern "C" fn(p: *mut pbuf)>;
Expand description

Prototype for a function to free a custom pbuf

Aliased Type§

pub enum pbuf_free_custom_fn {
    None,
    Some(unsafe extern "C" fn(*mut pbuf)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut pbuf))

Some value of type T.