Skip to main content

ZL_Graph_getDepth

Function ZL_Graph_getDepth 

Source
pub unsafe extern "C" fn ZL_Graph_getDepth(
    gctx: *const ZL_Graph,
) -> c_uint
Expand description

@brief Query the current graph execution depth.

Returns the depth at which the current graph is executing. Depth 1 is the root graph; each successor level increments by 1. This can be used to detect runaway graph growth.

@param gctx Graph context, must be non-NULL. @return Current graph execution depth (>= 1).