diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-10-05 12:12:01 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-10-05 12:12:01 -0400 |
commit | aa5a32ca2c07691f3f10b7ec0c423ade11479220 (patch) | |
tree | 2852c532076b86fb544e07ad0dedf5fe834246c6 /test/lisp/emacs-lisp/checkdoc-tests.el | |
parent | 4f4327c0b0db7f908ae7153e5ddc802b9808dc2e (diff) | |
download | emacs-aa5a32ca2c07691f3f10b7ec0c423ade11479220.tar.gz emacs-aa5a32ca2c07691f3f10b7ec0c423ade11479220.tar.bz2 emacs-aa5a32ca2c07691f3f10b7ec0c423ade11479220.zip |
itree.c: Clarify how the sentinel is used
* src/itree.c (null_is_sane): New function.
(interval_tree_iter_start): Use it to make sure we haven't garbled null.
(itree_init): Fully initialize `itree_null` here...
(interval_tree_clear): ...instead of here.
(interval_tree_propagate_limit): Remove special code that read NULL->parent.
(interval_tree_remove): Do it explicitly before the call in those two
places where it can happen.
Diffstat (limited to 'test/lisp/emacs-lisp/checkdoc-tests.el')
0 files changed, 0 insertions, 0 deletions