BNNSGraphGetArgumentIntents(_:_:_:_:)
Extracts the intents of arguments for the given function argument.
Declaration
func BNNSGraphGetArgumentIntents(_ graph: bnns_graph_t, _ function: UnsafePointer<CChar>?, _ argument_intents_count: Int, _ argument_intents: UnsafeMutablePointer<BNNSGraphArgumentIntent>) -> Int32Parameters
- graph:
The compiled graph object.
- function:
The function. Specify as
nilif the graph only contains one function. - argument_intents_count:
The number of elements in the
argument_intentsarray. - argument_intents:
On output, an array of pointers to Bnnsgraphargumentintent structures that contain the argument intents.
Return Value
0 on success, nonzero on failure.
See Also
Querying a graph’s properties
BNNSGraphArgumentIntentBNNSGraphGetArgumentCount(_:_:)BNNSGraphGetArgumentNames(_:_:_:_:)BNNSGraphGetFunctionCount(_:)BNNSGraphGetFunctionNames(_:_:_:)BNNSGraphGetInputCount(_:_:)BNNSGraphGetInputNames(_:_:_:_:)BNNSGraphGetOutputCount(_:_:)BNNSGraphGetOutputNames(_:_:_:_:)BNNSGraphGetArgumentPosition(_:_:_:)BNNSGraphGetArgumentInterleaveFactors(_:_:_:_:_:)