mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 10:50:49 -08:00
Permitting tree traversals to abort early.
Copied from Perforce Change: 184511 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
59334b5e4f
commit
f47100fd09
3 changed files with 23 additions and 12 deletions
|
|
@ -667,8 +667,8 @@ void CBSIterate(CBS cbs, CBSIterateMethod iterate,
|
|||
closure.iterate = iterate;
|
||||
closure.closureP = closureP;
|
||||
closure.closureS = closureS;
|
||||
TreeTraverse(SplayTreeRoot(tree), tree->compare, tree->nodeKey,
|
||||
CBSIterateVisit, &closure, 0);
|
||||
(void)TreeTraverse(SplayTreeRoot(tree), tree->compare, tree->nodeKey,
|
||||
CBSIterateVisit, &closure, 0);
|
||||
|
||||
cbsLeave(cbs);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue