Enumerations | |
enum | arbb_loop_type_t { arbb_loop_for, arbb_loop_while } |
The set of allowed loop types. More... | |
enum | arbb_loop_block_t { arbb_loop_block_init, arbb_loop_block_cond, arbb_loop_block_body, arbb_loop_block_step } |
The set of allowed loop block types. More... | |
Functions | |
ARBB_VM_EXPORT arbb_error_t | arbb_begin_loop (arbb_function_t function, arbb_loop_type_t loop_type, arbb_error_details_t *details) |
Begins a structured loop of the provided type. | |
ARBB_VM_EXPORT arbb_error_t | arbb_begin_loop_block (arbb_function_t function, arbb_loop_block_t block_type, arbb_error_details_t *details) |
Begins a loop block within a given control flow statement, such as a condition block or a body block. | |
ARBB_VM_EXPORT arbb_error_t | arbb_loop_condition (arbb_function_t function, arbb_variable_t condition, arbb_error_details_t *details) |
Exits the structured loop currently being defined if the provided condition is true. | |
ARBB_VM_EXPORT arbb_error_t | arbb_end_loop (arbb_function_t function, arbb_error_details_t *details) |
Ends the structured loop currently being defined. | |
ARBB_VM_EXPORT arbb_error_t | arbb_break (arbb_function_t function, arbb_error_details_t *details) |
Inserts a break statement in the current function. | |
ARBB_VM_EXPORT arbb_error_t | arbb_continue (arbb_function_t function, arbb_error_details_t *details) |
Inserts a continue statement in the current function. |
enum arbb_loop_type_t |
enum arbb_loop_block_t |
The set of allowed loop block types.
Definition at line 899 of file arbb_vmapi.h.
ARBB_VM_EXPORT arbb_error_t arbb_begin_loop | ( | arbb_function_t | function, | |
arbb_loop_type_t | loop_type, | |||
arbb_error_details_t * | details | |||
) |
Begins a structured loop of the provided type.
This call must be followed by calls to arbb_begin_loop_block() and a call to arbb_end_loop(). No statements can be added before the first call to arbb_begin_loop_block().
function
is a null object.function
is not currently being defined. ARBB_VM_EXPORT arbb_error_t arbb_begin_loop_block | ( | arbb_function_t | function, | |
arbb_loop_block_t | block_type, | |||
arbb_error_details_t * | details | |||
) |
Begins a loop block within a given control flow statement, such as a condition block or a body block.
function
is a null object.block_type
is not appropriate for the loop being defined.block_type
was already defined in the current loop. ARBB_VM_EXPORT arbb_error_t arbb_loop_condition | ( | arbb_function_t | function, | |
arbb_variable_t | condition, | |||
arbb_error_details_t * | details | |||
) |
Exits the structured loop currently being defined if the provided condition is true.
function
is a null object.condition
is a null object.condition
is not a scalar of type arbb_boolean.ARBB_VM_EXPORT arbb_error_t arbb_end_loop | ( | arbb_function_t | function, | |
arbb_error_details_t * | details | |||
) |
Ends the structured loop currently being defined.
function
is a null object.ARBB_VM_EXPORT arbb_error_t arbb_break | ( | arbb_function_t | function, | |
arbb_error_details_t * | details | |||
) |
Inserts a break statement in the current function.
function
is a null object.ARBB_VM_EXPORT arbb_error_t arbb_continue | ( | arbb_function_t | function, | |
arbb_error_details_t * | details | |||
) |
Inserts a continue statement in the current function.
function
is a null object.Copyright © 2010, Intel Corporation. All rights reserved.