mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Deprecate all BroType* in BifType:: namespace
Replaced with equivalently named IntrusivePtr in zeek::BifType::
This commit is contained in:
parent
dca587c604
commit
eedeb07550
62 changed files with 287 additions and 283 deletions
|
@ -10,8 +10,8 @@ module FileExtract;
|
|||
## :zeek:see:`FileExtract::set_limit`.
|
||||
function FileExtract::__set_limit%(file_id: string, args: any, n: count%): bool
|
||||
%{
|
||||
using BifType::Record::Files::AnalyzerArgs;
|
||||
auto rv = args->AsRecordVal()->CoerceTo(AnalyzerArgs);
|
||||
using zeek::BifType::Record::Files::AnalyzerArgs;
|
||||
auto rv = args->AsRecordVal()->CoerceTo(AnalyzerArgs.get());
|
||||
bool result = file_mgr->SetExtractionLimit(file_id->CheckString(), rv.get(), n);
|
||||
return val_mgr->Bool(result);
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue