mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21: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
|
@ -216,7 +216,7 @@ void Manager::ModuleUsage(const string& path, const string& module)
|
|||
module.c_str(), name.c_str());
|
||||
}
|
||||
|
||||
IdentifierInfo* Manager::CreateIdentifierInfo(IntrusivePtr<zeek::detail::ID> id, ScriptInfo* script)
|
||||
IdentifierInfo* Manager::CreateIdentifierInfo(zeek::IntrusivePtr<zeek::detail::ID> id, ScriptInfo* script)
|
||||
{
|
||||
const auto& id_name = id->Name();
|
||||
auto prev = identifiers.GetInfo(id_name);
|
||||
|
@ -247,7 +247,7 @@ IdentifierInfo* Manager::CreateIdentifierInfo(IntrusivePtr<zeek::detail::ID> id,
|
|||
return rval;
|
||||
}
|
||||
|
||||
void Manager::StartType(IntrusivePtr<zeek::detail::ID> id)
|
||||
void Manager::StartType(zeek::IntrusivePtr<zeek::detail::ID> id)
|
||||
{
|
||||
if ( disabled )
|
||||
return;
|
||||
|
@ -278,7 +278,7 @@ static bool IsEnumType(zeek::detail::ID* id)
|
|||
return id->IsType() ? id->GetType()->Tag() == zeek::TYPE_ENUM : false;
|
||||
}
|
||||
|
||||
void Manager::Identifier(IntrusivePtr<zeek::detail::ID> id)
|
||||
void Manager::Identifier(zeek::IntrusivePtr<zeek::detail::ID> id)
|
||||
{
|
||||
if ( disabled )
|
||||
return;
|
||||
|
@ -361,7 +361,7 @@ void Manager::RecordField(const zeek::detail::ID* id, const zeek::TypeDecl* fiel
|
|||
}
|
||||
|
||||
void Manager::Redef(const zeek::detail::ID* id, const string& path,
|
||||
zeek::detail::InitClass ic, IntrusivePtr<zeek::detail::Expr> init_expr)
|
||||
zeek::detail::InitClass ic, zeek::IntrusivePtr<zeek::detail::Expr> init_expr)
|
||||
{
|
||||
if ( disabled )
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue