summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--include/ruby/intern.h2
-rw-r--r--string.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b6eddbd94..48917ab7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 fb5e1380f..df9354918 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);
diff --git a/string.c b/string.c
index fbe6ea88b..6742e04a1 100644
--- a/string.c
+++ b/string.c
@@ -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;