mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
ZVal constructor for booleans
This commit is contained in:
parent
88740acffe
commit
3cf3cc3c5e
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ union ZVal {
|
|||
ZVal(const TypePtr& t);
|
||||
|
||||
// Construct directly.
|
||||
ZVal(bool v) { int_val = v; }
|
||||
ZVal(zeek_int_t v) { int_val = v; }
|
||||
ZVal(zeek_uint_t v) { uint_val = v; }
|
||||
ZVal(double v) { double_val = v; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue