1307:b2547ff3d1ce | 1308:ce01b482daa3 |
---|---|
118 * Internal stack size. | 118 * Internal stack size. |
119 */ | 119 */ |
120 size_t stack_size; | 120 size_t stack_size; |
121 /** | 121 /** |
122 * The current depth in the tree. | 122 * The current depth in the tree. |
123 * The node with which the iteration starts has depth 1. | |
123 */ | 124 */ |
124 size_t depth; | 125 size_t depth; |
125 }; | 126 }; |
126 } CxTreeIterator; | 127 } CxTreeIterator; |
127 | 128 |
133 * The tree node to visit. | 134 * The tree node to visit. |
134 */ | 135 */ |
135 void *node; | 136 void *node; |
136 /** | 137 /** |
137 * The depth of the node. | 138 * The depth of the node. |
139 * The first visited node has depth 1. | |
138 */ | 140 */ |
139 size_t depth; | 141 size_t depth; |
140 /** | 142 /** |
141 * The next element in the queue or @c NULL. | 143 * The next element in the queue or @c NULL. |
142 */ | 144 */ |