mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Move IntrusivePtr and utility methods to the zeek namespace
This commit is contained in:
parent
4668378d91
commit
9364e6a5b7
255 changed files with 3761 additions and 3730 deletions
|
@ -375,7 +375,7 @@ int Plugin::HookLoadFile(const LoadType type, const std::string& file, const std
|
|||
return -1;
|
||||
}
|
||||
|
||||
std::pair<bool, IntrusivePtr<Val>>
|
||||
std::pair<bool, zeek::IntrusivePtr<Val>>
|
||||
Plugin::HookFunctionCall(const Func* func, Frame* parent,
|
||||
zeek::Args* args)
|
||||
{
|
||||
|
@ -390,9 +390,9 @@ Plugin::HookFunctionCall(const Func* func, Frame* parent,
|
|||
#pragma GCC diagnostic pop
|
||||
|
||||
for ( auto i = 0u; i < args->size(); ++i )
|
||||
(*args)[i] = {AdoptRef{}, vlargs[i]};
|
||||
(*args)[i] = {zeek::AdoptRef{}, vlargs[i]};
|
||||
|
||||
return {handled, {AdoptRef{}, result}};
|
||||
return {handled, {zeek::AdoptRef{}, result}};
|
||||
}
|
||||
|
||||
std::pair<bool, Val*> Plugin::HookCallFunction(const Func* func, Frame *parent, val_list* args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue