mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Move Type types to zeek namespace
This commit is contained in:
parent
4a1b39a2be
commit
ed13972924
120 changed files with 2094 additions and 1934 deletions
|
@ -22,10 +22,10 @@ public:
|
|||
[[deprecated("Remove in v4.1. Use GetFunc().")]]
|
||||
Func* LocalHandler() { return local.get(); }
|
||||
|
||||
const IntrusivePtr<FuncType>& GetType(bool check_export = true);
|
||||
const IntrusivePtr<zeek::FuncType>& GetType(bool check_export = true);
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetType().")]]
|
||||
FuncType* FType(bool check_export = true)
|
||||
zeek::FuncType* FType(bool check_export = true)
|
||||
{ return GetType().get(); }
|
||||
|
||||
void SetFunc(IntrusivePtr<Func> f)
|
||||
|
@ -70,7 +70,7 @@ private:
|
|||
|
||||
std::string name;
|
||||
IntrusivePtr<Func> local;
|
||||
IntrusivePtr<FuncType> type;
|
||||
IntrusivePtr<zeek::FuncType> type;
|
||||
bool used; // this handler is indeed used somewhere
|
||||
bool enabled;
|
||||
bool error_handler; // this handler reports error messages.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue