stack_wrapper(3)
| stack_wrapper(3) | Library Functions Manual | stack_wrapper(3) |
NAME
stack_wrapper
SYNOPSIS
#include <faststack.h>
Data Fields
stack_lvl_t * top
stack_lvl_t * bottom
int height
Detailed Description
Wrapper around the stack levels - keeps a pointer to the current top and bottom of the stack and a count of the current height. This allows the top to have non-null above pointer resulting from previously allocated stack levels that may be recycled later without malloc overhead.
Field Documentation
stack_lvl_t* bottom
The bottom of the stack. If this is NULL, the stack is empty.
int height
The current height of the stack, in terms of allocated and used levels.
stack_lvl_t* top
The top of the stack. If this is NULL, the stack is empty.
Author
Generated automatically by Doxygen for Small, Fast S-Expression Library from the source code.
| Thu Sep 23 2021 | Small, Fast S-Expression Library |
