BNNSGraphGetArgumentPosition(_:_:_:)
Returns the index into the arguments array for the given function argument.
Declaration
func BNNSGraphGetArgumentPosition(_ graph: bnns_graph_t, _ function: UnsafePointer<CChar>?, _ argument: UnsafePointer<CChar>) -> IntParameters
- graph:
The compiled graph object.
- function:
The function. Specify as
nilif the graph only contains one function. - argument:
The name of the input or output argument.
Return Value
Returns the index into the arguments array for the given function argument, or SIZE_T_MAX if the query fails.
See Also
Querying a graph’s properties
BNNSGraphGetArgumentIntents(_:_:_:_:)BNNSGraphArgumentIntentBNNSGraphGetArgumentCount(_:_:)BNNSGraphGetArgumentNames(_:_:_:_:)BNNSGraphGetFunctionCount(_:)BNNSGraphGetFunctionNames(_:_:_:)BNNSGraphGetInputCount(_:_:)BNNSGraphGetInputNames(_:_:_:_:)BNNSGraphGetOutputCount(_:_:)BNNSGraphGetOutputNames(_:_:_:_:)BNNSGraphGetArgumentInterleaveFactors(_:_:_:_:_:)