diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-01 07:55:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-01 07:55:56 +0000 |
commit | adbdd97d28336b1be05d64d4aeda78ef1812a859 (patch) | |
tree | 0f8709cfb6895ce45c193ee63ca5156d14762174 /include | |
parent | 97b88a177371c5c60cdf7f3b8ec9943886cd19e8 (diff) | |
download | ruby-adbdd97d28336b1be05d64d4aeda78ef1812a859.tar.gz |
string.c: export rb_str_scrub
* string.c (rb_str_scrub): export with fixed length arguments, and
allow nil as replacement string instead of omitting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43500 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 b294f2d0fa..030ba7b55b 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -774,6 +774,7 @@ VALUE rb_str_length(VALUE); long rb_str_offset(VALUE, long); size_t rb_str_capacity(VALUE); VALUE rb_str_ellipsize(VALUE, long); +VALUE rb_str_scrub(VALUE, VALUE); #if defined(__GNUC__) && !defined(__PCC__) #define rb_str_new_cstr(str) __extension__ ( \ { \ |