src/tree.c

changeset 834
04c53b3c8378
parent 833
5c926801f052
child 836
2672a2f79484
equal deleted inserted replaced
833:5c926801f052 834:04c53b3c8378
107 *result = (void*)root; 107 *result = (void*)root;
108 return ret; 108 return ret;
109 } 109 }
110 110
111 // create a working stack 111 // create a working stack
112 cx_array_declare(void const*, work); 112 CX_ARRAY_DECLARE(void const*, work);
113 cx_array_initialize(work, 32); 113 cx_array_initialize(work, 32);
114 114
115 // add the children of root to the working stack 115 // add the children of root to the working stack
116 { 116 {
117 void *c = tree_children(root); 117 void *c = tree_children(root);

mercurial