mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38: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
16
src/Frame.h
16
src/Frame.h
|
@ -21,13 +21,11 @@
|
|||
ZEEK_FORWARD_DECLARE_NAMESPACED(CallExpr, zeek::detail);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(Trigger, zeek::detail::trigger);
|
||||
|
||||
namespace zeek::detail { class ScriptFunc; }
|
||||
using BroFunc [[deprecated("Remove in v4.1. Use zeek::detail::ScriptFunc instead.")]] = zeek::detail::ScriptFunc;
|
||||
|
||||
namespace zeek {
|
||||
using ValPtr = IntrusivePtr<Val>;
|
||||
|
||||
namespace detail {
|
||||
class ScriptFunc;
|
||||
using IDPtr = IntrusivePtr<ID>;
|
||||
|
||||
namespace trigger {
|
||||
|
@ -67,9 +65,6 @@ public:
|
|||
return frame[n].val;
|
||||
}
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetElement(int).")]]
|
||||
Val* NthElement(int n) const { return frame[n].val.get(); }
|
||||
|
||||
/**
|
||||
* Sets the element at index *n* of the underlying array to *v*.
|
||||
* @param n the index to set
|
||||
|
@ -77,9 +72,6 @@ public:
|
|||
*/
|
||||
void SetElement(int n, ValPtr v);
|
||||
|
||||
[[deprecated("Remove in v4.1. Pass IntrusivePtr instead.")]]
|
||||
void SetElement(int n, Val* v);
|
||||
|
||||
/**
|
||||
* Associates *id* and *v* in the frame. Future lookups of
|
||||
* *id* will return *v*.
|
||||
|
@ -101,10 +93,6 @@ public:
|
|||
const ValPtr& GetElementByID(const IDPtr& id) const
|
||||
{ return GetElementByID(id.get()); }
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetElementByID().")]]
|
||||
Val* GetElement(const ID* id) const
|
||||
{ return GetElementByID(id).get(); }
|
||||
|
||||
/**
|
||||
* Adjusts the current offset being used for frame accesses.
|
||||
* This is in support of inlined functions.
|
||||
|
@ -405,8 +393,6 @@ private:
|
|||
} // namespace detail
|
||||
} // namespace zeek
|
||||
|
||||
using Frame [[deprecated("Remove in v4.1. Use zeek::detail::Frame instead.")]] = zeek::detail::Frame;
|
||||
|
||||
/**
|
||||
* If we stopped using this and instead just made a struct of the information
|
||||
* that the debugger actually uses we could make the Frame a class a template.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue