static void copydict(Dict_t * from, Dict_t * to) { Copy = to; dtwalk(from, copydictf, 0); }
void agrefstrdump(void) { dtwalk(StringDict, refstrprint, 0); }
void Grid::walk(Visitor *visitor) { dtwalk(this,visitingWalk,visitor); }
/* 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); }
void Grid::walk(int(*walkf)(Dt_t*,void*,void*)) { dtwalk(this, walkf, this); }