axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
axlPointer axl_stack_peek ( axlStack stack)

Allows to get current current element at the top of the stack without removing it.

This function allows to perform the same operation like pop (axl_stack_pop) function, but without removing the element from the top.

stackThe stack where the element from the top will be returned.
An axlPointer reference or NULL if fails.

References axl_return_val_if_fail, and axl_stack_is_empty().

Referenced by axl_binary_stack_pop().