mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Deprecate internal_type(), replace with zeek::lookup_type()
This commit is contained in:
parent
32b895f4ba
commit
ac06259eec
44 changed files with 218 additions and 182 deletions
|
@ -7,7 +7,7 @@
|
|||
#include "Scope.h"
|
||||
#include "Func.h"
|
||||
#include "Val.h"
|
||||
#include "Var.h" // for internal_type()
|
||||
#include "Var.h"
|
||||
|
||||
static inline bool is_established(const analyzer::tcp::TCP_Endpoint* e)
|
||||
{
|
||||
|
@ -145,7 +145,7 @@ RuleConditionEval::RuleConditionEval(const char* func)
|
|||
rules_error("eval function type must yield a 'bool'", func);
|
||||
|
||||
TypeList tl;
|
||||
tl.Append({NewRef{}, internal_type("signature_state")});
|
||||
tl.Append(zeek::lookup_type("signature_state"));
|
||||
tl.Append(base_type(TYPE_STRING));
|
||||
|
||||
if ( ! f->CheckArgs(tl.Types()) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue