src/cx/tree.h

changeset 840
4f02995ce44e
parent 835
13068743197f
child 845
2615317311b7
equal deleted inserted replaced
839:62d3aecc5bb7 840:4f02995ce44e
87 * The currently observed node. 87 * The currently observed node.
88 * 88 *
89 * This is the same what cxIteratorCurrent() would return. 89 * This is the same what cxIteratorCurrent() would return.
90 */ 90 */
91 void *node; 91 void *node;
92 /**
93 * Stores a copy of the next pointer of the visited node.
94 * Allows freeing a node on exit without corrupting the iteration.
95 */
96 void *next;
92 /** 97 /**
93 * Internal stack. 98 * Internal stack.
94 * Will be automatically freed once the iterator becomes invalid. 99 * Will be automatically freed once the iterator becomes invalid.
95 * 100 *
96 * If you want to discard the iterator before, you need to manually 101 * If you want to discard the iterator before, you need to manually

mercurial