Auxiliary Operations - Function Stack

Functions

ARBB_VM_EXPORT arbb_error_t arbb_push_function (arbb_context_t context, arbb_function_t function, arbb_error_details_t *details)
 Pushes the given function onto the function stack.
ARBB_VM_EXPORT arbb_error_t arbb_pop_function (arbb_context_t context, arbb_error_details_t *details)
 Pops the top function from the function stack.
ARBB_VM_EXPORT arbb_error_t arbb_top_function (arbb_context_t context, arbb_function_t *out_function, arbb_error_details_t *details)
 Retrieves the top function from the function stack, placing it in *out_function.

Function Documentation

ARBB_VM_EXPORT arbb_error_t arbb_push_function ( arbb_context_t  context,
arbb_function_t  function,
arbb_error_details_t details 
)

Pushes the given function onto the function stack.

The function parameter may be a null object.

Returns:
An error code depending on the result of the operation:
ARBB_VM_EXPORT arbb_error_t arbb_pop_function ( arbb_context_t  context,
arbb_error_details_t details 
)

Pops the top function from the function stack.

Returns:
An error code depending on the result of the operation:
ARBB_VM_EXPORT arbb_error_t arbb_top_function ( arbb_context_t  context,
arbb_function_t out_function,
arbb_error_details_t details 
)

Retrieves the top function from the function stack, placing it in *out_function.

If the function stack is empty, *out_function is set to a null object.

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

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.