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

ruby-changes:65138

From: S-H-GAMELINKS <ko1@a...>
Date: Thu, 4 Feb 2021 16:26:13 +0900 (JST)
Subject: [ruby-changes:65138] 90f008f569 (master): Remove unsued str_new_shared function declaration

https://git.ruby-lang.org/ruby.git/commit/?id=90f008f569

From 90f008f569718c8cbb311a7e0f939b639cd9e48a Mon Sep 17 00:00:00 2001
From: S-H-GAMELINKS <gamelinks007@g...>
Date: Thu, 4 Feb 2021 13:06:20 +0900
Subject: Remove unsued str_new_shared function declaration

---
 string.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/string.c b/string.c
index 33e14c1..84e12d4 100644
--- a/string.c
+++ b/string.c
@@ -197,7 +197,6 @@ VALUE rb_cSymbol; https://github.com/ruby/ruby/blob/trunk/string.c#L197
     ((len) <= RSTRING_EMBED_LEN_MAX + 1 - (termlen))
 
 static VALUE str_replace_shared_without_enc(VALUE str2, VALUE str);
-static VALUE str_new_shared(VALUE klass, VALUE str);
 static VALUE str_new_frozen(VALUE klass, VALUE orig);
 static VALUE str_new_frozen_buffer(VALUE klass, VALUE orig, int copy_encoding);
 static VALUE str_new_static(VALUE klass, const char *ptr, long len, int encindex);
-- 
cgit v1.1


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

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