mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
Replace deprecated usage of BifFunc:: with zeek::BifFunc::
Names of functions also changed slightly, like bro_fmt -> fmt_bif. Should generally be unusual/unexpected to see somone calling these directly from C++ in their plugin, but since technically possible in previous versions, I also removed the "private" restriction on accessing the BifReturnVal member.
This commit is contained in:
parent
0db5c920f2
commit
ca1e5fe4be
4 changed files with 6 additions and 10 deletions
|
@ -781,7 +781,7 @@ void init_builtin_funcs_subdirs()
|
|||
|
||||
bool check_built_in_call(BuiltinFunc* f, CallExpr* call)
|
||||
{
|
||||
if ( f->TheFunc() != BifFunc::bro_fmt )
|
||||
if ( f->TheFunc() != zeek::BifFunc::fmt_bif)
|
||||
return true;
|
||||
|
||||
const expr_list& args = call->Args()->Exprs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue