mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
switch to ID definition regions; reworked driver functions; more info for reporting uncompilable functions
This commit is contained in:
parent
83a0d89caf
commit
da6ac0b521
15 changed files with 619 additions and 581 deletions
|
@ -19,8 +19,11 @@ extern std::string scope_prefix(const std::string& scope);
|
|||
// Same, but for scopes identified with numbers.
|
||||
extern std::string scope_prefix(int scope);
|
||||
|
||||
// True if the given function is compilable to C++.
|
||||
extern bool is_CPP_compilable(const ProfileFunc* pf);
|
||||
// True if the given function is compilable to C++. If it isn't, and
|
||||
// the second argument is non-nil, then on return it points to text
|
||||
// explaining why not.
|
||||
extern bool is_CPP_compilable(const ProfileFunc* pf,
|
||||
const char** reason = nullptr);
|
||||
|
||||
// Helper utilities for file locking, to ensure that hash files
|
||||
// don't receive conflicting writes due to concurrent compilations.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue