mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Trim the list of "global type pointers" from NetVar.h further
Most of them are deprecated now, with usage sites now doing the lookup themselves.
This commit is contained in:
parent
d34b24e776
commit
9210d443d3
26 changed files with 290 additions and 315 deletions
|
@ -145,8 +145,9 @@ RuleConditionEval::RuleConditionEval(const char* func)
|
|||
if ( f->Yield()->Tag() != TYPE_BOOL )
|
||||
rules_error("eval function type must yield a 'bool'", func);
|
||||
|
||||
static auto signature_state = zeek::lookup_type<RecordType>("signature_state");
|
||||
TypeList tl;
|
||||
tl.Append(zeek::vars::signature_state);
|
||||
tl.Append(signature_state);
|
||||
tl.Append(base_type(TYPE_STRING));
|
||||
|
||||
if ( ! f->CheckArgs(tl.Types()) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue