Deprecate returning Val* from BIFs

This commit is contained in:
Jon Siwek 2020-04-20 15:20:42 -07:00
parent 6c0a9b0d8f
commit 80d3918b13
3 changed files with 8 additions and 0 deletions

View file

@ -201,6 +201,9 @@ public:
: rval(AdoptRef{}, v.release())
{ }
BifReturnVal(std::nullptr_t) noexcept;
[[deprecated("Remove in v4.1. Return an IntrusivePtr instead.")]]
BifReturnVal(Val* v) noexcept;
private: