mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Add builtin_exception() functions
These work like builtin_error(), but also throw an InterpreterException
This commit is contained in:
parent
9f16fa6474
commit
2b698c4e1b
2 changed files with 57 additions and 15 deletions
|
@ -236,8 +236,11 @@ protected:
|
|||
|
||||
|
||||
extern void builtin_error(const char* msg);
|
||||
extern void builtin_error(const char* msg, IntrusivePtr<Val>);
|
||||
extern void builtin_error(const char* msg, const IntrusivePtr<Val>& arg);
|
||||
extern void builtin_error(const char* msg, BroObj* arg);
|
||||
extern void builtin_exception(const char* msg);
|
||||
extern void builtin_exception(const char* msg, const IntrusivePtr<Val>& arg);
|
||||
extern void builtin_exception(const char* msg, BroObj* arg);
|
||||
extern void init_builtin_funcs();
|
||||
extern void init_builtin_funcs_subdirs();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue