summaryrefslogtreecommitdiff
path: root/enc/iso_8859_1.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-02 20:06:58 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-02 20:06:58 +0000
commita13c1148a94d504a7b3d0db55c3b75cba733475e (patch)
tree731f3ad15a8d13b7ed195b7c87f015340396f82a /enc/iso_8859_1.c
parent9d52fda376509f22bee858b0190eb0b289734b90 (diff)
* enc/us_ascii.c: add us_ascii_ prefix for functions to ease
setting breakpoint when debugging. * enc/euc_jp.c: add eucjp_ prefix. * enc/sjis.c: add sjis_ prefix. * enc/iso_8859_1.c: add iso_8859_1_ prefix. * enc/iso_8859_2.c: add iso_8859_2_ prefix. * enc/iso_8859_3.c: add iso_8859_3_ prefix. * enc/iso_8859_4.c: add iso_8859_4_ prefix. * enc/iso_8859_5.c: add iso_8859_5_ prefix. * enc/iso_8859_6.c: add iso_8859_6_ prefix. * enc/iso_8859_7.c: add iso_8859_7_ prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/iso_8859_1.c')
-rw-r--r--enc/iso_8859_1.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/enc/iso_8859_1.c b/enc/iso_8859_1.c
index 0c85c8b..7453fe3 100644
--- a/enc/iso_8859_1.c
+++ b/enc/iso_8859_1.c
@@ -102,7 +102,7 @@ static const OnigPairCaseFoldCodes CaseFoldMap[] = {
};
static int
-apply_all_case_fold(OnigCaseFoldType flag,
+iso_8859_1_apply_all_case_fold(OnigCaseFoldType flag,
OnigApplyAllCaseFoldFunc f, void* arg,
OnigEncoding enc)
{
@@ -112,7 +112,7 @@ apply_all_case_fold(OnigCaseFoldType flag,
}
static int
-get_case_fold_codes_by_str(OnigCaseFoldType flag,
+iso_8859_1_get_case_fold_codes_by_str(OnigCaseFoldType flag,
const OnigUChar* p, const OnigUChar* end,
OnigCaseFoldCodeItem items[],
OnigEncoding enc)
@@ -201,7 +201,7 @@ get_case_fold_codes_by_str(OnigCaseFoldType flag,
}
static int
-mbc_case_fold(OnigCaseFoldType flag, const UChar** pp, const UChar* end,
+iso_8859_1_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
-is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc)
+iso_8859_1_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,
- mbc_case_fold,
- apply_all_case_fold,
- get_case_fold_codes_by_str,
+ iso_8859_1_mbc_case_fold,
+ iso_8859_1_apply_all_case_fold,
+ iso_8859_1_get_case_fold_codes_by_str,
onigenc_minimum_property_name_to_ctype,
- is_code_ctype,
+ iso_8859_1_is_code_ctype,
onigenc_not_support_get_ctype_code_range,
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match