Lines Matching refs:action
199 static void _twalk(Tree_t* obj, void(*action)(const Void_t*,VISIT,int), int level) in _twalk()
201 static void _twalk(obj,action,level) in _twalk()
203 void(* action)();
207 (*action)((Void_t*)obj,leaf,level);
209 { (*action)((Void_t*)obj,preorder,level);
211 _twalk((Tree_t*)obj->lchild,action,level+1);
212 (*action)((Void_t*)obj,postorder,level);
214 _twalk((Tree_t*)obj->rchild,action,level+1);
215 (*action)((Void_t*)obj,endorder,level);
225 void twalk(const Void_t* root, void(*action)(const Void_t*,VISIT,int) ) in twalk()
227 void twalk(root, action) in twalk()
229 void(* action)();
235 _twalk(o,action,0);