Function Calls

Enumerations

enum  arbb_call_opcode_t { arbb_op_call, arbb_op_map }
 

The set of ways in which functions may be called using arbb_call_op().

More...

Functions

ARBB_VM_EXPORT arbb_error_t arbb_call_op (arbb_function_t caller, arbb_call_opcode_t opcode, arbb_function_t callee, const arbb_variable_t *outputs, const arbb_variable_t *inputs, arbb_error_details_t *details)
 Adds a new calling instruction to the given function.

Enumeration Type Documentation

The set of ways in which functions may be called using arbb_call_op().

See Also

arbb_call_op()
Enumerator:
arbb_op_call 

Perform a plain call operation.

arbb_op_map 

Definition at line 810 of file arbb_vmapi.h.


Function Documentation

ARBB_VM_EXPORT arbb_error_t arbb_call_op ( arbb_function_t  caller,
arbb_call_opcode_t  opcode,
arbb_function_t  callee,
const arbb_variable_t outputs,
const arbb_variable_t inputs,
arbb_error_details_t details 
)

Adds a new calling instruction to the given function.

The number and types of inputs and outputs passed in must match the function signature. For plain call operations, the function signature must match exactly. For map operations, output types must be containers of the corresponding function signature types, and input types must either match exactly or be containers of the corresponding function signature types.

Returns:
An error code depending on the result of the operation:

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.