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 --- 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 c234ebded..5626230a8 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