summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-04-01 12:15:01 -0700
committerJeremy Evans <code@jeremyevans.net>2019-08-30 12:39:31 -0700
commit334b41a46b2a1a72965494dcecc6fe73a83f4490 (patch)
treeea1373861f84f5ce1844993057c3c5e5649756d9 /internal.h
parent16c6984bb97409029e213154ac4f633ae04af3d8 (diff)
Allow ** syntax to be used for calling methods that do not accept keywords
Treat the ** syntax as passing a copy of the hash as the last positional argument. If the hash being double splatted is empty, do not add a positional argument. Remove rb_no_keyword_hash, no longer needed.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2395
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 2818467c19..5a846c13e0 100644
--- a/internal.h
+++ b/internal.h
@@ -2397,7 +2397,6 @@ VALUE rb_str_normalize_ospath(const char *ptr, long len);
/* hash.c (export) */
VALUE rb_hash_delete_entry(VALUE hash, VALUE key);
VALUE rb_ident_hash_new(void);
-extern VALUE rb_no_keyword_hash;
/* io.c (export) */
void rb_maygvl_fd_fix_cloexec(int fd);