mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Use type aliases for IntrusivePtr definitions
This commit is contained in:
parent
f6a251cdac
commit
ec9eff0bd5
180 changed files with 2026 additions and 1893 deletions
|
@ -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()")]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue