From d9ffec943c0608523135d73c6b7c348a9b02a8a5 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 12 Aug 2008 10:08:48 +0000 Subject: * string.c (rb_str_drop_bytes): new function to drop first bytes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') 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; -- cgit