示例#1
0
文件: graphio.c 项目: Chaduke/bah.mod
static void copydict(Dict_t * from, Dict_t * to)
{
    Copy = to;
    dtwalk(from, copydictf, 0);
}
示例#2
0
void agrefstrdump(void)
{
    dtwalk(StringDict, refstrprint, 0);
}
示例#3
0
文件: grid.cpp 项目: aosm/graphviz
void Grid::walk(Visitor *visitor) {
	dtwalk(this,visitingWalk,visitor);
}
示例#4
0
/* walkGrid:
 * Apply function walkf to each cell in the grid.
 * The second argument to walkf is the cell; the
 * third argument is the grid. (The first argument
 * is the dictionary.) walkf must return 0.
 */
void walkGrid(Grid * g, int (*walkf) (Dt_t *, cell *, Grid *))
{
    dtwalk(g->data, (walkfn_t) walkf, g);
}
示例#5
0
文件: grid.cpp 项目: aosm/graphviz
void Grid::walk(int(*walkf)(Dt_t*,void*,void*)) {
    dtwalk(this, walkf, this);
}