mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Incremental commit: implementing a wrapper for the Val class.
Just a checkpoint: need to add / update tests to make sure things work as expected. Should build / pass core btests, though.
This commit is contained in:
parent
8d04f58eda
commit
d639488d36
8 changed files with 127 additions and 56 deletions
|
@ -14,6 +14,9 @@ class Stmt;
|
|||
class Frame;
|
||||
class ID;
|
||||
class CallExpr;
|
||||
namespace plugin {
|
||||
struct ValWrapper;
|
||||
}
|
||||
|
||||
class Func : public BroObj {
|
||||
public:
|
||||
|
@ -71,7 +74,7 @@ protected:
|
|||
Func();
|
||||
|
||||
// Helper function for handling result of plugin hook.
|
||||
Val* HandlePluginResult(Val* plugin_result, val_list* args, function_flavor flavor) const;
|
||||
plugin::ValWrapper* HandlePluginResult(plugin::ValWrapper* plugin_result, val_list* args, function_flavor flavor) const;
|
||||
|
||||
DECLARE_ABSTRACT_SERIAL(Func);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue