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

ruby-changes:65877

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 16 Apr 2021 14:45:42 +0900 (JST)
Subject: [ruby-changes:65877] 97cee1cba6 (master): rb_hash_free(): has never existed.

https://git.ruby-lang.org/ruby.git/commit/?id=97cee1cba6

From 97cee1cba6c966e9eb390902f42941daf6f0d1fd 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: Fri, 16 Apr 2021 14:41:35 +0900
Subject: rb_hash_free(): has never existed.

This is just a hoax.  Nobody have ever implemented a function named as
such.  Also the functionality implied by the name must not be a public
API if any.
---
 include/ruby/internal/intern/hash.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/ruby/internal/intern/hash.h b/include/ruby/internal/intern/hash.h
index c7a27c2..70c3791 100644
--- a/include/ruby/internal/intern/hash.h
+++ b/include/ruby/internal/intern/hash.h
@@ -52,7 +52,6 @@ int rb_path_check(const char*); https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/intern/hash.h#L52
 int rb_env_path_tainted(void);
 VALUE rb_env_clear(void);
 VALUE rb_hash_size(VALUE);
-void rb_hash_free(VALUE);
 
 RBIMPL_SYMBOL_EXPORT_END()
 
-- 
cgit v1.1


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

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