<p>to test, run included unit test.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/commotiond re-entrant-tree-iterator</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/commotiond/pull/122'>https://github.com/opentechinstitute/commotiond/pull/122</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>added re-entrant function for iterating through keys of a tree</li>
  <li>attach treenodes to their parent</li>
  <li>fixed co_tree_next algorithm</li>
  <li>add co_tree_next unit test</li>
  <li>update documentation of co_tree_next</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/122/files#diff-0">src/tree.c</a>
    (63)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/122/files#diff-1">src/tree.h</a>
    (8)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/opentechinstitute/commotiond/pull/122/files#diff-2">tests/tree-next.cpp</a>
    (159)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/commotiond/pull/122.patch'>https://github.com/opentechinstitute/commotiond/pull/122.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/commotiond/pull/122.diff'>https://github.com/opentechinstitute/commotiond/pull/122.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/opentechinstitute/commotiond/pull/122">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AC7qBF2gIPxGsb9gI6jDYIKFYe9tiQWUks5nGmgEgaJpZM4Cys5V.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/opentechinstitute/commotiond/pull/122","name":"View Pull Request"}}</script>