73 for (bp = snl->
first; bp; bp = bp->
next) {
77 fprintf(stderr,
"block=%s\n",
agnameof(g));
84 fprintf(stderr,
" %s (%d %s)\n",
agnameof(n),
VAL(n), p);
Memory allocation wrappers that exit on failure.
static void * gv_alloc(size_t size)
void insertBlock(blocklist_t *bl, block_t *bp)
add block at beginning
int blockSize(block_t *sp)
void freeBlock(block_t *sp)
void initBlocklist(blocklist_t *bl)
block_t * mkBlock(Agraph_t *g)
void appendBlock(blocklist_t *bl, block_t *bp)
add block at end
int agnnodes(Agraph_t *g)
Agedge_t * agnxtedge(Agraph_t *g, Agedge_t *e, Agnode_t *n)
Agedge_t * agfstedge(Agraph_t *g, Agnode_t *n)
Agnode_t * agnxtnode(Agraph_t *g, Agnode_t *n)
Agnode_t * agfstnode(Agraph_t *g)
char * agnameof(void *)
returns a string descriptor for the object.