Use type aliases for IntrusivePtr definitions

This commit is contained in:
Tim Wojtulewicz 2020-06-24 16:46:34 -04:00
parent f6a251cdac
commit ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions

View file

@ -21,6 +21,8 @@ class Frame;
class Func;
class Event;
using ValPtr = zeek::IntrusivePtr<Val>;
namespace zeek {
template <class T> class IntrusivePtr;
}
@ -671,7 +673,7 @@ protected:
* interpreter. If the plugin did not handle the call, it must return a
* pair with the first member set to 'false' and null result value.
*/
virtual std::pair<bool, zeek::IntrusivePtr<Val>>
virtual std::pair<bool, ValPtr>
HookFunctionCall(const Func* func, Frame* parent, zeek::Args* args);
[[deprecated("Remove in v4.1. Use HookFunctionCall()")]]