summaryrefslogtreecommitdiffstats
path: root/include/ruby
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-29 19:16:02 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-29 19:16:02 +0000
commitbe2c0fb02832b2bf907ef4405851eec29b521648 (patch)
treef1e5efc85efec12556c8e6a27dda8e550172a9e7 /include/ruby
parent691fa20306244eb5864ea7f1e5520f57456f3cf4 (diff)
downloadruby-be2c0fb02832b2bf907ef4405851eec29b521648.tar.gz
ruby-be2c0fb02832b2bf907ef4405851eec29b521648.tar.xz
ruby-be2c0fb02832b2bf907ef4405851eec29b521648.zip
* string.c (str_gsub): should not use mbclen2() which has broken API.
* re.c: remove rb_reg_mbclen2(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/re.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/ruby/re.h b/include/ruby/re.h
index 5b0cc24e9..c5a62ff11 100644
--- a/include/ruby/re.h
+++ b/include/ruby/re.h
@@ -45,9 +45,6 @@ VALUE rb_reg_quote(VALUE);
RUBY_EXTERN int ruby_ignorecase;
-int rb_reg_mbclen2(unsigned int, VALUE);
-#define mbclen2(c,re) rb_reg_mbclen2((c),(re))
-
#if defined(__cplusplus)
#if 0
{ /* satisfy cc-mode */