From 2d888a8f331411751a9394a99c52d9b6928fe25e Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 25 Aug 2007 08:05:08 +0000 Subject: [PATCH] * include/ruby/encoding.h (rb_enc_str_new): prototype added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 +++- include/ruby/encoding.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 51d5a31162..fcaf7952c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -Sat Aug 25 16:13:59 2007 Nobuyoshi Nakada +Sat Aug 25 17:05:05 2007 Nobuyoshi Nakada * io.c (swallow): removed condition using an unset variable. @@ -6,6 +6,8 @@ Sat Aug 25 16:13:59 2007 Nobuyoshi Nakada * string.c (rb_str_splice): return from void funtion. + * include/ruby/encoding.h (rb_enc_str_new): prototype added. + Sat Aug 25 11:45:37 2007 Yukihiro Matsumoto * encoding.c: provide basic features for M17N. diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 1e0dffd86c..d23238a186 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -32,6 +32,7 @@ rb_encoding* rb_enc_check(VALUE,VALUE); void rb_enc_associate(VALUE, rb_encoding*); void rb_enc_copy(VALUE, VALUE); +VALUE rb_enc_str_new(const char*, long len, rb_encoding*); long rb_enc_strlen(const char*, const char*, rb_encoding*); char* rb_enc_nth(const char*, const char*, int, rb_encoding*);