BNNSGraphGetArgumentCount(_:_:)
Returns the number of arguments for the given function argument.
Declaration
func BNNSGraphGetArgumentCount(_ graph: bnns_graph_t, _ function: UnsafePointer<CChar>?) -> IntParameters
- graph:
The compiled graph object.
- function:
The function. Specify as
nilif the graph only contains one function.
Return Value
The number of arguments, or SIZE_T_MAX if the query fails.
Discussion
The value that this function returns is the sum of the values BNNSGraphGetInputCount(_:_:) and BNNSGraphGetOutputCount(_:_:) return.
See Also
Querying a graph’s properties
BNNSGraphGetArgumentIntents(_:_:_:_:)BNNSGraphArgumentIntentBNNSGraphGetArgumentNames(_:_:_:_:)BNNSGraphGetFunctionCount(_:)BNNSGraphGetFunctionNames(_:_:_:)BNNSGraphGetInputCount(_:_:)BNNSGraphGetInputNames(_:_:_:_:)BNNSGraphGetOutputCount(_:_:)BNNSGraphGetOutputNames(_:_:_:_:)BNNSGraphGetArgumentPosition(_:_:_:)BNNSGraphGetArgumentInterleaveFactors(_:_:_:_:_:)