ruby-changes:61391
From: S-H-GAMELINKS <ko1@a...>
Date: Wed, 27 May 2020 11:27:39 +0900 (JST)
Subject: [ruby-changes:61391] 0fcb2dd51d (master): add static modifier for rb_str_ord func
https://git.ruby-lang.org/ruby.git/commit/?id=0fcb2dd51d From 0fcb2dd51dc7cec3155aa161bbda868c9a23c36e Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS <gamelinks007@g...> Date: Wed, 27 May 2020 01:32:57 +0900 Subject: add static modifier for rb_str_ord func diff --git a/string.c b/string.c index eac1d21..da07bd5 100644 --- a/string.c +++ b/string.c @@ -9727,7 +9727,7 @@ rb_str_crypt(VALUE str, VALUE salt) https://github.com/ruby/ruby/blob/trunk/string.c#L9727 * "a".ord #=> 97 */ -VALUE +static VALUE rb_str_ord(VALUE s) { unsigned int c; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/