mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Bif const: make sure const is indeed a constant.
This commit is contained in:
parent
782f007b5c
commit
f3aa7b2fac
3 changed files with 13 additions and 1 deletions
|
@ -27,6 +27,7 @@ extern void begin_func(ID* id, const char* module_name, function_flavor flavor,
|
|||
extern void end_func(Stmt* body, attr_list* attrs = 0);
|
||||
|
||||
extern Val* internal_val(const char* name);
|
||||
extern Val* internal_const_val(const char* name); // internal error if not const
|
||||
extern Val* opt_internal_val(const char* name); // returns nil if not defined
|
||||
extern double opt_internal_double(const char* name);
|
||||
extern bro_int_t opt_internal_int(const char* name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue