mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
added some class accessors/set-ers
This commit is contained in:
parent
8389fc85d7
commit
1505fd4aa1
4 changed files with 23 additions and 2 deletions
|
@ -53,6 +53,13 @@ public:
|
|||
*/
|
||||
Frame(int size, const ScriptFunc* func, const zeek::Args* fn_args);
|
||||
|
||||
/**
|
||||
* Returns the size of the frame.
|
||||
*
|
||||
* @return the number of elements in the frame.
|
||||
*/
|
||||
int FrameSize() const { return size; }
|
||||
|
||||
/**
|
||||
* @param n the index to get.
|
||||
* @return the value at index *n* of the underlying array.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue