mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
factoring to support debugging of Dict iterators - no semantic changes
This commit is contained in:
parent
b4a44ed663
commit
9f68002392
2 changed files with 18 additions and 15 deletions
|
@ -477,6 +477,9 @@ private:
|
|||
RobustDictIterator MakeRobustIterator();
|
||||
detail::DictEntry GetNextRobustIteration(RobustDictIterator* iter);
|
||||
|
||||
void IncrIters() { ++num_iterators; }
|
||||
void DecrIters() { --num_iterators; }
|
||||
|
||||
//alligned on 8-bytes with 4-leading bytes. 7*8=56 bytes a dictionary.
|
||||
|
||||
// when sizeup but the current mapping is in progress. the current mapping will be ignored
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue