ruby-changes:46460
From: nobu <ko1@a...>
Date: Sat, 6 May 2017 10:01:56 +0900 (JST)
Subject: [ruby-changes:46460] nobu:r58575 (trunk): string.c: fix types
nobu 2017-05-06 10:01:52 +0900 (Sat, 06 May 2017) New Revision: 58575 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58575 Log: string.c: fix types * string.c (id_normalize, id_normalized_p): fix types, IDs should be ID. * string.c (unicode_normalize_common): ditto. Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 58574) +++ string.c (revision 58575) @@ -9584,12 +9584,12 @@ str_scrub_bang(int argc, VALUE *argv, VA https://github.com/ruby/ruby/blob/trunk/string.c#L9584 return str; } -static VALUE id_normalize; -static VALUE id_normalized_p; +static ID id_normalize; +static ID id_normalized_p; static VALUE mUnicodeNormalize; static VALUE -unicode_normalize_common(int argc, VALUE *argv, VALUE str, VALUE id) +unicode_normalize_common(int argc, VALUE *argv, VALUE str, ID id) { static int UnicodeNormalizeRequired = 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/