Small, Fast S-Expression Library
|
#include <faststack.h>
Data Fields | |
struct stack_level * | above |
struct stack_level * | below |
void * | data |
Structure representing a single level in the stack. Has a pointer to the level above and below itself and a pointer to a generic blob of data associated with this level.
struct stack_level* above |
Pointer to the level above this one. If NULL, then this level is the top of the stack. If above is non-NULL, this level *may* be the top, but all that can be guaranteed is that there are other allocated but potentially unused levels above this one.
struct stack_level* below |
Pointer to the level below this one. If NULL, then this level is the bottom.
void* data |
Pointer to some data associated with this level. User is responsible for knowing what to cast the void
*
pointer into.