diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-09-27 14:47:52 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 14:47:52 +0900 |
commit | f7ffe9dbdeb2bebb4c9155fc391f0bab198bfb51 (patch) | |
tree | 24e273a2d906f2c40279f80eef46cbc6a36133fa /lib | |
parent | 582602d142c7ea2b21cd7539c09976b078d7bbe9 (diff) |
Introduce `RBIMPL_NONNULL_ARG` macro
Runtime assertion for the argument declared as non-null.
This macro does nothing if `RBIMPL_ATTR_NONNULL` is effective,
otherwise asserts that the argument is non-null.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4898
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions