mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Make BIFs just return ValPtr directly instead of BifReturnVal
This commit is contained in:
parent
5602546f2e
commit
2aaaab4dad
11 changed files with 12 additions and 55 deletions
|
@ -9,7 +9,6 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "zeek/BifReturnVal.h"
|
||||
#include "zeek/Obj.h"
|
||||
#include "zeek/Scope.h"
|
||||
#include "zeek/Stmt.h"
|
||||
|
@ -314,7 +313,7 @@ private:
|
|||
int current_priority = 0;
|
||||
};
|
||||
|
||||
using built_in_func = BifReturnVal (*)(Frame* frame, const Args* args);
|
||||
using built_in_func = ValPtr (*)(Frame* frame, const Args* args);
|
||||
|
||||
class BuiltinFunc final : public Func {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue