IPLFreeFunction

Type Alias IPLFreeFunction 

Source
pub type IPLFreeFunction = Option<unsafe extern "C" fn(memoryBlock: *mut c_void)>;
Expand description

Prototype of a callback that frees a block of memory. This is usually specified when using a custom memory allocator with Steam Audio. The default behavior is to use the OS-dependent aligned version of \c free.

\param memoryBlock Pointer to the block of memory.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.