From d53f112f15d0445c1cb2e6ba5a6accfe8ddba891 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 25 Aug 2007 08:54:29 +0000 Subject: * string.c, include/ruby/intern.h: export rb_str_length(). * insns.def: use rb_str_lengt() in opt_length. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index 3de977afe..26ae87a25 100644 --- a/string.c +++ b/string.c @@ -421,7 +421,7 @@ str_strlen(VALUE str, rb_encoding *enc) * Returns the character length of str. */ -static VALUE +VALUE rb_str_length(VALUE str) { int len; -- cgit