[ruby-cvs:65131] nobu:r57965 (trunk): string.c: use rb_check_string_type

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Mar 14 12:42:43 JST 2017


nobu	2017-03-14 12:42:43 +0900 (Tue, 14 Mar 2017)

  New Revision: 57965

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57965

  Log:
    string.c: use rb_check_string_type
    
    * string.c (rb_str_cmp_m): use rb_check_string_type for check and
      conversion, instead of calling the conversion method directly.

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list