From c015c6fa8e11f3d8ca206151487e9a0ee6d3bed8 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 28 Feb 2008 02:13:51 +0000 Subject: * include/ruby/encoding.h (rb_str_coderange_scan_restartable): added prototype. * string.c (rb_str_coderange_scan_restartable, rb_str_times): removed unsed variables. * string.c (rb_enc_str_copy): unused now. may be used in future? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/encoding.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ruby') diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 622e2fe734..6bc4031ab4 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -163,6 +163,7 @@ ID rb_intern3(const char*, long, rb_encoding*); ID rb_interned_id_p(const char *, long, rb_encoding *); int rb_enc_symname_p(const char*, rb_encoding*); int rb_enc_str_coderange(VALUE); +long rb_str_coderange_scan_restartable(const char*, const char*, rb_encoding*, int*); int rb_enc_str_asciionly_p(VALUE); #define rb_enc_str_asciicompat_p(str) rb_enc_asciicompat(rb_enc_get(str)) VALUE rb_enc_from_encoding(rb_encoding *enc); -- cgit v1.2.3