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

Convenience function that allows to push a new value using the last one pushed in the stack.

This function allows to implement the same feature provided by peeking (axl_binary_stack_peek) the next visible value on the stack head and then pushing it again.

bstackThe binary stack where to perform the operation.

NOTE: The stack must not be empty before calling to this function. It has to have at least one value already pushed.

References axl_return_if_fail.