mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
explicitly populate holes created in vectors
This commit is contained in:
parent
2f47cce8a6
commit
6aab151d97
4 changed files with 106 additions and 5 deletions
|
@ -43,6 +43,9 @@ union ZVal {
|
|||
// Construct from a given higher-level script value with a given type.
|
||||
ZVal(ValPtr v, const TypePtr& t);
|
||||
|
||||
// Construct an empty value compatible with the given type.
|
||||
ZVal(const TypePtr& t);
|
||||
|
||||
// Convert to a higher-level script value. The caller needs to
|
||||
// ensure that they're providing the correct type.
|
||||
ValPtr ToVal(const TypePtr& t) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue