Project

General

Profile

« Previous | Next » 

Revision 703a5dd3

Added by nobu (Nobuyoshi Nakada) about 7 years ago

string.c: adjust to rb_str_upto_each

  • range.c (range_each_func): adjust the signature of the callback
    function to rb_str_upto_each, and exit the loop if the callback
    returned non-zero.

  • string.c (rb_str_upto_endless_each): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e