aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-12 10:08:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-12 10:08:48 +0000
commitf65719e5c66f5db60c17e87540e886e7b3f92521 (patch)
tree6db22c190b53616729c703c529d2fd2d3995c9e9 /include
parent26bc383ef8fd3b0a7b210bcfe0bd3bbccdee212b (diff)
downloadruby-f65719e5c66f5db60c17e87540e886e7b3f92521.tar.gz
* string.c (rb_str_drop_bytes): new function to drop first bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/intern.h2
1 files changed, 1 insertions, 1 deletions
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);