From edc61cf4c19c089d210c7774994ee6d57bff65ad 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/oniguruma.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/ruby') diff --git a/include/ruby/oniguruma.h b/include/ruby/oniguruma.h index c234ebded1..5626230a83 100644 --- a/include/ruby/oniguruma.h +++ b/include/ruby/oniguruma.h @@ -173,10 +173,8 @@ typedef struct OnigEncodingTypeST { typedef OnigEncodingType* OnigEncoding; ONIG_EXTERN OnigEncodingType OnigEncodingASCII; -ONIG_EXTERN OnigEncodingType OnigEncodingUTF8; #define ONIG_ENCODING_ASCII (&OnigEncodingASCII) -#define ONIG_ENCODING_UTF8 (&OnigEncodingUTF8) #define ONIG_ENCODING_UNDEF ((OnigEncoding )0) -- cgit v1.2.3