diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-04 18:07:32 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-12-04 18:07:49 +0900 |
| commit | b872fbe3dd3fe2601e4cddfd3179b5166dc121d4 (patch) | |
| tree | b60ac75ef8a56420a55d81ff775952f76a18e274 /include/ruby/internal | |
| parent | 7f41c3e7b1373f35cc073241b3773289be9be03e (diff) | |
Deprecate `rb_eval_cmd_kw`
Diffstat (limited to 'include/ruby/internal')
| -rw-r--r-- | include/ruby/internal/intern/vm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/internal/intern/vm.h b/include/ruby/internal/intern/vm.h index 29e0c7f534..779f77fe91 100644 --- a/include/ruby/internal/intern/vm.h +++ b/include/ruby/internal/intern/vm.h @@ -95,6 +95,7 @@ VALUE rb_check_funcall(VALUE recv, ID mid, int argc, const VALUE *argv); */ VALUE rb_check_funcall_kw(VALUE recv, ID mid, int argc, const VALUE *argv, int kw_splat); +#ifdef RBIMPL_ATTR_DEPRECATED_INTERNAL /** * This API is practically a variant of rb_proc_call_kw() now. Historically * when there still was a concept called `$SAFE`, this was an API for that. @@ -109,7 +110,9 @@ VALUE rb_check_funcall_kw(VALUE recv, ID mid, int argc, const VALUE *argv, int k * - RB_PASS_CALLED_KEYWORDS it depends if there is a passed block. * @return What the command evaluates to. */ +RBIMPL_ATTR_DEPRECATED_INTERNAL(4.0) VALUE rb_eval_cmd_kw(VALUE cmd, VALUE arg, int kw_splat); +#endif /** * Identical to rb_funcallv(), except it takes Ruby's array instead of C's. |
