#include <render.h>
Include dependency graph for stack.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | nstack_t |
Defines | |
#define | top(sp) ((sp)->top) |
Functions | |
nstack_t * | mkStack (void) |
void | stackPush (nstack_t *s, Agnode_t *n) |
Agnode_t * | stackPop (nstack_t *s) |
int | stackSize (nstack_t *s) |
int | stackCheck (nstack_t *s, Agnode_t *n) |
void | freeStack (nstack_t *s) |
#define top | ( | sp | ) | ((sp)->top) |
void freeStack | ( | nstack_t * | s | ) |
nstack_t* mkStack | ( | void | ) |
Definition at line 46 of file stack.c.
References assert, NEXT, nstack_t::sz, nstack_t::top, top, and UNSET_ONSTACK.
Definition at line 38 of file stack.c.
References NEXT, SET_ONSTACK, nstack_t::sz, and nstack_t::top.
int stackSize | ( | nstack_t * | s | ) |