mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Deprecate Scope::ReturnType(), replace with GetReturnType()
This commit is contained in:
parent
b0c95e30d0
commit
a13899c95e
1 changed files with 4 additions and 0 deletions
|
@ -44,8 +44,12 @@ public:
|
|||
const std::unique_ptr<std::vector<IntrusivePtr<Attr>>>& Attrs() const
|
||||
{ return attrs; }
|
||||
|
||||
[[deprecated("Remove in v4.1. Use GetReturnTrype().")]]
|
||||
BroType* ReturnType() const { return return_type.get(); }
|
||||
|
||||
const IntrusivePtr<BroType>& GetReturnType() const
|
||||
{ return return_type; }
|
||||
|
||||
size_t Length() const { return local.size(); }
|
||||
const auto& Vars() { return local; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue