Foreach function handler used at axl_stack_foreach function to iterate all elements inside the stack, from the head to the tail.
The function receives two user defined pointers that are defined at the axl_stack_foreach function.
- Parameters:
-
| stack_data | A reference to the stack data stored. |
| user_data | A reference to a user defined pointer passed to axl_stack_foreach. |
| user_data2 | A second reference to a user defined pointer passed to axl_stack_foreach. |
- Returns:
- true to make the foreach process to stop. false to make the process to continue.