axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axl_bool axl_binary_stack_peek ( axlBinaryStack bstack)

Allows to get the current stack head value stored without removing it from the stack.

Parameters
bstackThe binary stack where to perform the operation.
Returns
The value stored in the stack head. The stack must contain at least one value, otherwise the returned value is not reliable. See axl_binary_stack_is_empty to avoid calling to this function.

References axl_false, and axl_return_val_if_fail.