mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Remove all of the random single-file deprecations
These are the changes that don't require a ton of changes to other files outside of the original removal.
This commit is contained in:
parent
7e9d89db0a
commit
0618be792f
270 changed files with 36 additions and 4632 deletions
21
src/Func.cc
21
src/Func.cc
|
@ -289,12 +289,6 @@ void Func::CheckPluginResult(bool handled, const ValPtr& hook_result,
|
|||
}
|
||||
}
|
||||
|
||||
Val* Func::Call(ValPList* args, detail::Frame* parent) const
|
||||
{
|
||||
auto zargs = val_list_to_args(*args);
|
||||
return Invoke(&zargs, parent).release();
|
||||
};
|
||||
|
||||
namespace detail {
|
||||
|
||||
ScriptFunc::ScriptFunc(const IDPtr& arg_id, StmtPtr arg_body,
|
||||
|
@ -1048,18 +1042,3 @@ void emit_builtin_error(const char* msg, Obj* arg)
|
|||
}
|
||||
|
||||
} // namespace zeek
|
||||
|
||||
void builtin_error(const char* msg)
|
||||
{
|
||||
zeek::emit_builtin_error(msg);
|
||||
}
|
||||
|
||||
void builtin_error(const char* msg, const zeek::ValPtr& arg)
|
||||
{
|
||||
zeek::emit_builtin_error(msg, arg);
|
||||
}
|
||||
|
||||
void builtin_error(const char* msg, zeek::Obj* arg)
|
||||
{
|
||||
zeek::emit_builtin_error(msg, arg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue