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:
Gilbert Clark 2014-09-27 08:03:30 -04:00
parent 8d04f58eda
commit d639488d36
8 changed files with 127 additions and 56 deletions

View file

@ -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);