From 8df5d92f783d6f7316b8ee6c733750a24574cc90 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 10 Dec 2007 05:01:47 +0000 Subject: * transcode.c: new file to provide encoding conversion features. code contributed by Martin Duerst. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index 711157825..9ed5dfa05 100644 --- a/string.c +++ b/string.c @@ -179,7 +179,7 @@ str_alloc(VALUE klass) return (VALUE)str; } -static VALUE +VALUE str_new(VALUE klass, const char *ptr, long len) { VALUE str; @@ -625,7 +625,7 @@ str_modifiable(VALUE str) rb_raise(rb_eSecurityError, "Insecure: can't modify string"); } -static int +int str_independent(VALUE str) { str_modifiable(str); -- cgit