summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/float-sup-tests.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-10-11 11:17:44 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2022-10-11 11:17:44 -0400
commit12836db6e4e09378d41301b3d4e1fcff58132d3a (patch)
tree0a49a20b0ca6cfa602571620aa2e1970f42328ee /test/lisp/emacs-lisp/float-sup-tests.el
parentda0387f0fe79f577fae6d5453c758f600e1ae495 (diff)
downloademacs-12836db6e4e09378d41301b3d4e1fcff58132d3a.tar.gz
emacs-12836db6e4e09378d41301b3d4e1fcff58132d3a.tar.bz2
emacs-12836db6e4e09378d41301b3d4e1fcff58132d3a.zip
itree.c (check_tree): Simplify
* src/itree.c (struct check_subtree_result): Remove `complete`. (check_subtree): Remove `max_depth` arg (and adjust callers). Use 0 as black-depth of empty tree. Remove redundant `node->parent` check (already performed by the caller). (check_tree): Replace with `check_tree_common` (update all callers). Check the root's `parent` field. (check_tree_no_rb): Delete function, inlined in its sole caller. (interval_tree_remove): Add call to `check_tree` (without RB checks) before `interval_tree_remove_fix`. Move update of `size` field accordingly.
Diffstat (limited to 'test/lisp/emacs-lisp/float-sup-tests.el')
0 files changed, 0 insertions, 0 deletions