pub unsafe extern "C" fn ZL_Compressor_registerStaticGraph_fromNode(
compressor: *mut ZL_Compressor,
headNode: ZL_NodeID,
dstGraphs: *const ZL_GraphID,
nbDstGraphs: usize,
) -> ZL_GraphIDExpand description
@brief Create a graph from a head node.
Creates a new graph headed by @p headNode, which produces @p nbDstGraphs outcomes. Each outcome of @p headNode gets sent to the corresponding graph in @p dstGraphs.
@param headNode The head node in the newly created graph. @param dstGraphs Array of graphs of size @p nbDstGraphs. @param nbDstGraphs Must be equal to the number of outputs of @p headNode.
@returns The newly created graph or ZL_GRAPH_ILLEGAL on error.
The user may check for errors using ZL_GraphID_isValid().
@note Successor dstGraphs can only be employed in single-input mode. Multi-input Graphs can only be invoked from a function graph.