Typedefs | |
| typedef _GGZList | GGZStack |
| Simple implementation of stacks using GGZList. | |
Functions | |
| GGZStack * | ggz_stack_new (void) |
| Create a new stack. | |
| void | ggz_stack_push (GGZStack *stack, void *data) |
| Push a data item onto the top of the stack. | |
| void * | ggz_stack_pop (GGZStack *stack) |
| Pop the top item off of the stack. | |
| void * | ggz_stack_top (GGZStack *stack) |
| Get the top item on the stack without popping it. | |
| void | ggz_stack_free (GGZStack *stack) |
| Free the stack. | |
| GGZStack* ggz_stack_new | ( | void | ) |
| void ggz_stack_push | ( | GGZStack * | stack, | |
| void * | data | |||
| ) |
Push a data item onto the top of the stack.
| stack | Pointer to a GGZStack | |
| data | Pointer to data to insert onto stack |
| void* ggz_stack_pop | ( | GGZStack * | stack | ) |
Pop the top item off of the stack.
| stack | Pointer to a GGZStack |
| void* ggz_stack_top | ( | GGZStack * | stack | ) |
Get the top item on the stack without popping it.
| stack | Pointer to a GGZList |
| void ggz_stack_free | ( | GGZStack * | stack | ) |
Free the stack.
| stack | Pointer to a GGZStack |
1.5.1