mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
Deprecate Plugin::HookCallFunction(), replace with HookFunctionCall()
This also changes the argument type of Func::operator() to zeek::Args* to allow plugins to be able to alter function arguments in place as was previously documented.
This commit is contained in:
parent
46c5dea733
commit
272db640aa
27 changed files with 417 additions and 77 deletions
|
@ -4133,7 +4133,8 @@ IntrusivePtr<Val> CallExpr::Eval(Frame* f) const
|
|||
if ( f )
|
||||
f->SetCall(this);
|
||||
|
||||
ret = funcv->operator()(*v, f);
|
||||
auto& args = *v;
|
||||
ret = funcv->operator()(&args, f);
|
||||
|
||||
if ( f )
|
||||
f->SetCall(current_call);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue