Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce RBIMPL_NONNULL_ARG macro #4898

Merged
merged 1 commit into from
Sep 27, 2021
Merged

Conversation

nobu
Copy link
Member

@nobu nobu commented Sep 26, 2021

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.

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.
@nobu nobu changed the title Introduce RBIMPL_NONNULL_ARG macro Introduce RBIMPL_NONNULL_ARG macro Sep 27, 2021
@nobu nobu merged commit f7ffe9d into ruby:master Sep 27, 2021
@nobu nobu deleted the nonnull_arg-assertion branch September 27, 2021 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant