src/cx/tree.h

changeset 1308
ce01b482daa3
parent 1295
b00c6ae1441a
--- a/src/cx/tree.h	Sun Apr 27 12:37:29 2025 +0200
+++ b/src/cx/tree.h	Sun Apr 27 12:54:16 2025 +0200
@@ -120,6 +120,7 @@
         size_t stack_size;
         /**
          * The current depth in the tree.
+         * The node with which the iteration starts has depth 1.
          */
         size_t depth;
     };
@@ -135,6 +136,7 @@
     void *node;
     /**
      * The depth of the node.
+     * The first visited node has depth 1.
      */
     size_t depth;
     /**

mercurial