Contents

BNNSGraphGetOutputCount(_:_:)

Returns the number of output arguments for the given function argument.

Declaration

func BNNSGraphGetOutputCount(_ graph: bnns_graph_t, _ function: UnsafePointer<CChar>?) -> Int

Parameters

  • graph:

    The compiled graph object.

  • function:

    The function. Specify as nil if the graph only contains one function.

Return Value

The number of ouput arguments, or SIZE_T_MAX if the query fails.

See Also

Querying a graph’s properties