diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/ruby/intern.h | 2 | ||||
-rw-r--r-- | string.c | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ -Tue Aug 12 19:07:02 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> +Tue Aug 12 19:08:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> - * string.c (rb_str_drop): new function to drop first bytes. + * string.c (rb_str_drop_bytes): new function to drop first bytes. Tue Aug 12 18:58:48 2008 Koichi Sasada <ko1@atdot.net> diff --git a/include/ruby/intern.h b/include/ruby/intern.h index fb5e1380f3..df9354918a 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -580,7 +580,7 @@ int rb_str_hash_cmp(VALUE,VALUE); int rb_str_comparable(VALUE, VALUE); int rb_str_cmp(VALUE, VALUE); VALUE rb_str_equal(VALUE str1, VALUE str2); -VALUE rb_str_drop(VALUE, long); +VALUE rb_str_drop_bytes(VALUE, long); void rb_str_update(VALUE, long, long, VALUE); VALUE rb_str_inspect(VALUE); VALUE rb_str_dump(VALUE); @@ -2830,7 +2830,7 @@ rb_str_aref_m(int argc, VALUE *argv, VALUE str) } VALUE -rb_str_drop(VALUE str, long len) +rb_str_drop_bytes(VALUE str, long len) { char *ptr = RSTRING_PTR(str); long olen = RSTRING_LEN(str), nlen; |