Contents

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>) -> Int32

Parameters

  • graph:

    The compiled graph object.

  • function:

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

  • argument_intents_count:

    The number of elements in the argument_intents array.

  • 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