mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
additional ScriptFunc constructor for compiled-to-C++ scripts
This commit is contained in:
parent
3796e2508b
commit
8d10fd32d0
2 changed files with 28 additions and 0 deletions
|
@ -151,6 +151,10 @@ public:
|
|||
const std::vector<IDPtr>& inits,
|
||||
size_t frame_size, int priority);
|
||||
|
||||
// For compiled scripts.
|
||||
ScriptFunc(std::string name, FuncTypePtr ft,
|
||||
std::vector<StmtPtr> bodies, std::vector<int> priorities);
|
||||
|
||||
~ScriptFunc() override;
|
||||
|
||||
bool IsPure() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue