diff options
author | 卜部昌平 <[email protected]> | 2021-09-09 14:11:38 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2021-09-10 20:00:06 +0900 |
commit | 6522b51ce5a878989766875d049e38daa0d0b9bc (patch) | |
tree | 927175a0d0d951178df0f9ef2333c201f47dbeb0 /include/ruby | |
parent | dddc618d3076de2c1b27d01f106bf0bf126d4677 (diff) |
rb_ary_new_from_values: can take NULLs
Explicit check done at runtime.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/internal/intern/array.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ruby/internal/intern/array.h b/include/ruby/internal/intern/array.h index 5ed3073e5a..17964bf810 100644 --- a/include/ruby/internal/intern/array.h +++ b/include/ruby/internal/intern/array.h @@ -97,7 +97,6 @@ VALUE rb_ary_new_capa(long capa); */ VALUE rb_ary_new_from_args(long n, ...); -RBIMPL_ATTR_NONNULL(()) /** * Identical to rb_ary_new_from_args(), except how objects are passed. * |