/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/circogen/stack.h File Reference

#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_tmkStack (void)
void stackPush (nstack_t *s, Agnode_t *n)
Agnode_tstackPop (nstack_t *s)
int stackSize (nstack_t *s)
int stackCheck (nstack_t *s, Agnode_t *n)
void freeStack (nstack_t *s)


Define Documentation

#define top ( sp   )     ((sp)->top)

Definition at line 38 of file stack.h.

Referenced by stackCheck(), stackPop(), and voronoi().


Function Documentation

void freeStack ( nstack_t s  ) 

Definition at line 33 of file stack.c.

References free().

Referenced by closest_pairs2graph().

nstack_t* mkStack ( void   ) 

Definition at line 22 of file stack.c.

References NEW, NULL, nstack_t::sz, and nstack_t::top.

int stackCheck ( nstack_t s,
Agnode_t n 
)

Definition at line 70 of file stack.c.

References node(), NULL, ONSTACK, nstack_t::top, and top.

Agnode_t* stackPop ( nstack_t s  ) 

Definition at line 46 of file stack.c.

References assert, NEXT, nstack_t::sz, nstack_t::top, top, and UNSET_ONSTACK.

void stackPush ( nstack_t s,
Agnode_t n 
)

Definition at line 38 of file stack.c.

References NEXT, SET_ONSTACK, nstack_t::sz, and nstack_t::top.

int stackSize ( nstack_t s  ) 

Definition at line 62 of file stack.c.

References nstack_t::sz.


Generated on Mon Mar 31 19:04:17 2008 for Graphviz by  doxygen 1.5.1