BNNSGraphGetInputCount(_:_:)
Returns the number of input arguments for the given function argument.
Declaration
func BNNSGraphGetInputCount(_ 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 input arguments, or SIZE_T_MAX if the query fails.
See Also
Querying a graph’s properties
BNNSGraphGetArgumentIntents(_:_:_:_:)BNNSGraphArgumentIntentBNNSGraphGetArgumentCount(_:_:)BNNSGraphGetArgumentNames(_:_:_:_:)BNNSGraphGetFunctionCount(_:)BNNSGraphGetFunctionNames(_:_:_:)BNNSGraphGetInputNames(_:_:_:_:)BNNSGraphGetOutputCount(_:_:)BNNSGraphGetOutputNames(_:_:_:_:)BNNSGraphGetArgumentPosition(_:_:_:)BNNSGraphGetArgumentInterleaveFactors(_:_:_:_:_:)