From adbdd97d28336b1be05d64d4aeda78ef1812a859 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 1 Nov 2013 07:55:56 +0000 Subject: 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 --- include/ruby/intern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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__ ( \ { \ -- cgit v1.2.3