mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +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
|
@ -747,7 +747,7 @@ SetupResult setup(int argc, char** argv, Options* zopts) {
|
|||
auto ipbft =
|
||||
make_intrusive<FuncType>(make_intrusive<RecordType>(nullptr), base_type(TYPE_BOOL), FUNC_FLAVOR_FUNCTION);
|
||||
ipbid->SetType(std::move(ipbft));
|
||||
auto init_bifs = [](Frame* frame, const Args* args) -> BifReturnVal {
|
||||
auto init_bifs = [](Frame* frame, const Args* args) -> ValPtr {
|
||||
init_primary_bifs();
|
||||
return val_mgr->True();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue