diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-10-07 13:16:33 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-10-07 13:51:21 -0700 |
commit | c0eae130b1d9fde5716c2340141d78ebc48c82a5 (patch) | |
tree | 8605a81564c06722694eb8f8aba6359fc3275b8a /include/ruby/ruby.h | |
parent | 055a85d3d9ab5850b1269089f28385158d969d18 (diff) | |
download | ruby-c0eae130b1d9fde5716c2340141d78ebc48c82a5.tar.gz |
Note RB_PASS_EMPTY_KEYWORDS and RB_SCAN_ARGS_EMPTY_KEYWORDS will be removed
There is no need for these in Ruby 3.0, and the plan is to
remove them.
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r-- | include/ruby/ruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 2ec0cc84ae..734cc939af 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1903,7 +1903,7 @@ VALUE rb_funcall_with_block_kw(VALUE, ID, int, const VALUE*, VALUE, int); int rb_scan_args(int, const VALUE*, const char*, ...); #define RB_SCAN_ARGS_PASS_CALLED_KEYWORDS 0 #define RB_SCAN_ARGS_KEYWORDS 1 -#define RB_SCAN_ARGS_EMPTY_KEYWORDS 2 +#define RB_SCAN_ARGS_EMPTY_KEYWORDS 2 /* Will be removed in 3.0 */ #define RB_SCAN_ARGS_LAST_HASH_KEYWORDS 3 int rb_scan_args_kw(int, int, const VALUE*, const char*, ...); VALUE rb_call_super(int, const VALUE*); @@ -1978,7 +1978,7 @@ VALUE rb_yield_splat_kw(VALUE, int); VALUE rb_yield_block(RB_BLOCK_CALL_FUNC_ARGLIST(yielded_arg, callback_arg)); /* rb_block_call_func */ #define RB_NO_KEYWORDS 0 #define RB_PASS_KEYWORDS 1 -#define RB_PASS_EMPTY_KEYWORDS 2 +#define RB_PASS_EMPTY_KEYWORDS 2 /* Will be removed in 3.0 */ #define RB_PASS_CALLED_KEYWORDS 3 int rb_keyword_given_p(void); int rb_block_given_p(void); |