diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-15 13:36:18 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-15 13:36:18 +0000 |
| commit | 936abb91896fb2770880ee8796342cf8c996aa3e (patch) | |
| tree | e7ed05f4840d0eb293ad4420c212debca496a2b0 /include | |
| parent | 804db5983a319570fdf526617ff3f96ec3fad34a (diff) | |
| download | ruby-936abb91896fb2770880ee8796342cf8c996aa3e.tar.gz ruby-936abb91896fb2770880ee8796342cf8c996aa3e.tar.xz ruby-936abb91896fb2770880ee8796342cf8c996aa3e.zip | |
* 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
Diffstat (limited to 'include')
| -rw-r--r-- | include/ruby/oniguruma.h | 2 |
1 files changed, 0 insertions, 2 deletions
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) |
