[前][次][番号順一覧][スレッド一覧]

ruby-changes:66792

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Thu, 15 Jul 2021 16:55:37 +0900 (JST)
Subject: [ruby-changes:66792] 3ce2bf4d90 (master): rb_interned_id_p: does not exist

https://git.ruby-lang.org/ruby.git/commit/?id=3ce2bf4d90

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?=
 <shyouhei@r...>
Date: Thu, 15 Jul 2021 16:49:55 +0900
Subject: 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 126f2c5..4e46d0d 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -238,7 +238,6 @@ rb_enc_asciicompat_inline(rb_encoding *enc) https://github.com/ruby/ruby/blob/trunk/include/ruby/encoding.h#L238
 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);
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]