diff options
Diffstat (limited to 'src/itree.h')
| -rw-r--r-- | src/itree.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/itree.h b/src/itree.h index 1f019a2607e..29bc8dd1b25 100644 --- a/src/itree.h +++ b/src/itree.h | |||
| @@ -105,7 +105,8 @@ void interval_tree_delete_gap (struct interval_tree *, ptrdiff_t, ptrdiff_t); | |||
| 105 | - The expression T may be evaluated more than once, so make sure | 105 | - The expression T may be evaluated more than once, so make sure |
| 106 | it is cheap a pure. | 106 | it is cheap a pure. |
| 107 | - Only a single iteration can happen at a time, so make sure none of the | 107 | - Only a single iteration can happen at a time, so make sure none of the |
| 108 | code within the loop can start another tree_itertion. | 108 | code within the loop can start another tree iteration, i.e. it shouldn't |
| 109 | be able to run ELisp code (or GC for that matter). | ||
| 109 | - If you need to exit the loop early, you *have* to call `ITREE_ABORT` | 110 | - If you need to exit the loop early, you *have* to call `ITREE_ABORT` |
| 110 | just before exiting (e.g. with `break` or `return`). | 111 | just before exiting (e.g. with `break` or `return`). |
| 111 | - Non-local exits are not supported within the body of the loop, | 112 | - Non-local exits are not supported within the body of the loop, |