From 334b41a46b2a1a72965494dcecc6fe73a83f4490 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Mon, 1 Apr 2019 12:15:01 -0700 Subject: 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. --- internal.h | 1 - 1 file changed, 1 deletion(-) (limited to 'internal.h') 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); -- cgit v1.2.3