ruby-changes:48864
From: naruse <ko1@a...>
Date: Sun, 3 Dec 2017 00:41:12 +0900 (JST)
Subject: [ruby-changes:48864] naruse:r60982 (trunk): static
naruse 2017-12-03 00:41:08 +0900 (Sun, 03 Dec 2017) New Revision: 60982 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60982 Log: static Modified files: trunk/ext/-test-/string/new.c Index: ext/-test-/string/new.c =================================================================== --- ext/-test-/string/new.c (revision 60981) +++ ext/-test-/string/new.c (revision 60982) @@ -1,13 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/ext/-test-/string/new.c#L1 #include "ruby.h" #include "ruby/encoding.h" -VALUE +static VALUE bug_str_buf_new(VALUE self, VALUE len) { return rb_str_buf_new(NUM2LONG(len)); } -VALUE +static VALUE bug_external_str_new(VALUE self, VALUE len, VALUE enc) { return rb_external_str_new_with_enc(NULL, NUM2LONG(len), rb_to_encoding(enc)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/