diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-03 17:57:48 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-03 17:57:48 +0000 |
commit | ed74723af4d28193f72242d4e6bc51a542aad118 (patch) | |
tree | f8c45e53544238d8e206806e77ef8da4a042aead /enc/iso_8859_1.c | |
parent | 52f9c1d2e173f07302ec263bf0026ded739a2d7f (diff) | |
download | ruby-ed74723af4d28193f72242d4e6bc51a542aad118.tar.gz |
* enc/euc_jp.c: remove eucjp_ prefix. breakpoint can be specified as
euc_jp.c:mbc_enc_len. avoid needless conflict by merge.
* enc/sjis.c: remove sjis_ prefix.
* enc/utf8.c: remove utf8_ prefix.
* enc/iso_8859_1.c: remove iso_8859_1_ prefix.
* enc/iso_8859_2.c: remove iso_8859_2_ prefix.
* enc/iso_8859_3.c: remove iso_8859_3_ prefix.
* enc/iso_8859_4.c: remove iso_8859_4_ prefix.
* enc/iso_8859_5.c: remove iso_8859_5_ prefix.
* enc/iso_8859_6.c: remove iso_8859_6_ prefix.
* enc/iso_8859_7.c: remove iso_8859_7_ prefix.
* enc/iso_8859_8.c: remove iso_8859_8_ prefix.
* enc/iso_8859_9.c: remove iso_8859_9_ prefix.
* enc/iso_8859_10.c: remove iso_8859_10_ prefix.
* enc/iso_8859_11.c: remove iso_8859_11_ prefix.
* enc/iso_8859_13.c: remove iso_8859_13_ prefix.
* enc/iso_8859_14.c: remove iso_8859_14_ prefix.
* enc/iso_8859_15.c: remove iso_8859_15_ prefix.
* enc/iso_8859_16.c: remove iso_8859_16_ prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/iso_8859_1.c')
-rw-r--r-- | enc/iso_8859_1.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/enc/iso_8859_1.c b/enc/iso_8859_1.c index 7453fe336e..0c85c8befb 100644 --- a/enc/iso_8859_1.c +++ b/enc/iso_8859_1.c @@ -102,7 +102,7 @@ static const OnigPairCaseFoldCodes CaseFoldMap[] = { }; static int -iso_8859_1_apply_all_case_fold(OnigCaseFoldType flag, +apply_all_case_fold(OnigCaseFoldType flag, OnigApplyAllCaseFoldFunc f, void* arg, OnigEncoding enc) { @@ -112,7 +112,7 @@ iso_8859_1_apply_all_case_fold(OnigCaseFoldType flag, } static int -iso_8859_1_get_case_fold_codes_by_str(OnigCaseFoldType flag, +get_case_fold_codes_by_str(OnigCaseFoldType flag, const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[], OnigEncoding enc) @@ -201,7 +201,7 @@ iso_8859_1_get_case_fold_codes_by_str(OnigCaseFoldType flag, } static int -iso_8859_1_mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end, +mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end, UChar* lower, OnigEncoding enc) { const UChar* p = *pp; @@ -246,7 +246,7 @@ is_mbc_ambiguous(OnigCaseFoldType flag, #endif static int -iso_8859_1_is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc) +is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc) { if (code < 256) return ENC_IS_ISO_8859_1_CTYPE(code, ctype); @@ -263,11 +263,11 @@ OnigEncodingDefine(iso_8859_1, ISO_8859_1) = { onigenc_single_byte_mbc_to_code, onigenc_single_byte_code_to_mbclen, onigenc_single_byte_code_to_mbc, - iso_8859_1_mbc_case_fold, - iso_8859_1_apply_all_case_fold, - iso_8859_1_get_case_fold_codes_by_str, + mbc_case_fold, + apply_all_case_fold, + get_case_fold_codes_by_str, onigenc_minimum_property_name_to_ctype, - iso_8859_1_is_code_ctype, + is_code_ctype, onigenc_not_support_get_ctype_code_range, onigenc_single_byte_left_adjust_char_head, onigenc_always_true_is_allowed_reverse_match |