mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +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
|
@ -1768,7 +1768,7 @@ bool Manager::CallPred(Func* pred_func, const int numvals, ...) const
|
|||
|
||||
va_end(lP);
|
||||
|
||||
auto v = pred_func->operator()(vl);
|
||||
auto v = pred_func->operator()(&vl);
|
||||
|
||||
if ( v )
|
||||
result = v->AsBool();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue