ZL_Compressor_registerFunctionGraph2

Function ZL_Compressor_registerFunctionGraph2 

Source
pub unsafe extern "C" fn ZL_Compressor_registerFunctionGraph2(
    compressor: *mut ZL_Compressor,
    dgd: *const ZL_FunctionGraphDesc,
) -> ZL_Result_ZL_GraphID
Expand description

Registers a function graph given the @p desc.

@note This is a new variant of @ref ZL_Compressor_registerFunctionGraph that reports errors using OpenZL’s ZL_Report error system.

@param desc The description of the graph, must be non-null.

@return The new graph ID, or an error.