diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 10:07:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 10:07:08 +0000 |
commit | 26bc383ef8fd3b0a7b210bcfe0bd3bbccdee212b (patch) | |
tree | 176d2aabf6965fb5fd7d16400f086d6e01f0a632 /include | |
parent | 8938f611f065e8ec77a64c438d76fe0b33a956f3 (diff) | |
download | ruby-26bc383ef8fd3b0a7b210bcfe0bd3bbccdee212b.tar.gz |
* string.c (rb_str_drop): new function to drop first bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 58432e3fe8..fb5e1380f3 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -580,6 +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); void rb_str_update(VALUE, long, long, VALUE); VALUE rb_str_inspect(VALUE); VALUE rb_str_dump(VALUE); |