|
Functions |
| bool | axl_stack_foreach (axlStack *stack, axlStackForeach2 func, axlPointer user_data, axlPointer user_data2) |
| | Allows to perform a foreach operation from the head of the stack (the next item to be poped) to the tail of the stack (the very first item pushed).
|
| bool | axl_stack_foreach3 (axlStack *stack, axlStackForeach3 func, axlPointer user_data, axlPointer user_data2, axlPointer user_data3) |
| | Allows to perform a foreach operation from the head of the stack (the next item to be poped) to the tail of the stack (the very first item pushed).
|
| void | axl_stack_free (axlStack *stack) |
| | Destroy the given stack.
|
| bool | axl_stack_is_empty (axlStack *stack) |
| | Allows to check if the given stack is empty.
|
| axlStack * | axl_stack_new (axlDestroyFunc destroy_data) |
| | Creates a new stack.
|
| axlPointer | axl_stack_peek (axlStack *stack) |
| | Allows to get current current element at the top of the stack without removing it.
|
| axlPointer | axl_stack_pop (axlStack *stack) |
| | Pop data from the stack.
|
| void | axl_stack_push (axlStack *stack, axlPointer data) |
| | Push data on top of the stack.
|
| int | axl_stack_size (axlStack *stack) |
| | Returns current stack size, that is, elements stored on the stack.
|