From 3ce2bf4d908c5cc80b8c53a21a09cd0d9d8ec26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Thu, 15 Jul 2021 16:49:55 +0900 Subject: [PATCH] rb_interned_id_p: does not exist This declaration was added at commit 0ee5a49dd4ffbbb285c25fa6cba88370ce9 without its implementation. Must be a mistake. Note also that we ended up having this exct same functionality implemented under a name of rb_check_id(). --- include/ruby/encoding.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 126f2c5c3e..4e46d0d996 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -238,7 +238,6 @@ rb_enc_asciicompat_inline(rb_encoding *enc) CONSTFUNC(int rb_enc_toupper(int c, rb_encoding *enc)); CONSTFUNC(int rb_enc_tolower(int c, rb_encoding *enc)); ID rb_intern3(const char*, long, rb_encoding*); -ID rb_interned_id_p(const char *, long, rb_encoding *); int rb_enc_symname_p(const char*, rb_encoding*); int rb_enc_symname2_p(const char*, long, rb_encoding*); int rb_enc_str_coderange(VALUE);