mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Rename Frame::IncreaseOffset() to Frame::AdjustOffset()
For clarity, since it's used for both increasing and decreasing.
This commit is contained in:
parent
7393fc6d24
commit
2219a03344
2 changed files with 5 additions and 5 deletions
|
@ -99,13 +99,13 @@ public:
|
|||
{ return GetElementByID(id).get(); }
|
||||
|
||||
/**
|
||||
* Increases the current offset being used for frame accesses.
|
||||
* Adjusts the current offset being used for frame accesses.
|
||||
* This is in support of inlined functions.
|
||||
*
|
||||
* @param incr Amount by which to increase the frame offset.
|
||||
* Use a negative value to shrink the offset.
|
||||
*/
|
||||
void IncreaseOffset(int incr) { current_offset += incr; }
|
||||
void AdjustOffset(int incr) { current_offset += incr; }
|
||||
|
||||
/**
|
||||
* Resets all of the indexes from [*startIdx, frame_size) in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue