diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-22 16:23:16 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-22 16:23:16 +0000 |
commit | 115410ecde172034fdbfdea703252dcfc6ea0468 (patch) | |
tree | 32490f38e9262bd323db96dea85aa16e1e58576b /include | |
parent | f11a6f2d65e01b966e5053ea8438d5e6c590c423 (diff) | |
download | ruby-115410ecde172034fdbfdea703252dcfc6ea0468.tar.gz |
* string.c (rb_str_upto): add optional argument to specify
exclusiveness.
* range.c (range_step): use String#upto with optional argument.
* range.c (range_each): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index a74bd8ed23..05c7643914 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -518,7 +518,6 @@ VALUE rb_str_concat(VALUE, VALUE); int rb_memhash(const void *ptr, long len); int rb_str_hash(VALUE); int rb_str_cmp(VALUE, VALUE); -VALUE rb_str_upto(VALUE, VALUE, int); void rb_str_update(VALUE, long, long, VALUE); VALUE rb_str_inspect(VALUE); VALUE rb_str_dump(VALUE); |