pub type ZL_GraphFn = Option<unsafe extern "C" fn(compressor: *mut ZL_Compressor) -> ZL_GraphID>;Expand description
@brief While it’s possible to add elements (graphs, selectors or nodes) to a Compressor one by one, and then finalize it by selecting a starting graph ID, it’s generally common for all these steps to be regrouped into a single initialization function. The following signature corresponds such a function. It returns a GraphID which, by convention, is the starting GraphID.
Aliased Type§
pub enum ZL_GraphFn {
None,
Some(unsafe extern "C" fn(*mut ZL_Compressor_s) -> ZL_GraphID),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut ZL_Compressor_s) -> ZL_GraphID)
Some value of type T.