From 936abb91896fb2770880ee8796342cf8c996aa3e Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 15 Jan 2008 13:36:18 +0000 Subject: * encoding.c (ENC_REGISTER): use &OnigEncoding*. (ENCINDEX_UTF_8): renamed from ENCINDEX_UTF8. (rb_enc_init): use ENC_REGISTER. * include/ruby/oniguruma.h (OnigEncodingUTF8, ONIG_ENCODING_UTF8): removed. * enc/*.c: remove use of &encoding_*; use enc argument instead. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enc/utf_8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enc/utf_8.c') diff --git a/enc/utf_8.c b/enc/utf_8.c index 81b8cd2d3..ebc53f24b 100644 --- a/enc/utf_8.c +++ b/enc/utf_8.c @@ -424,7 +424,7 @@ get_case_fold_codes_by_str(OnigCaseFoldType flag, return onigenc_unicode_get_case_fold_codes_by_str(enc, flag, p, end, items); } -OnigEncodingDefine(utf8, UTF8) = { +OnigEncodingDefine(utf_8, UTF_8) = { mbc_enc_len, "UTF-8", /* name */ 6, /* max byte length */ -- cgit