summaryrefslogtreecommitdiff
path: root/enc/iso_8859_2.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_2.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_2.c')
-rw-r--r--enc/iso_8859_2.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/enc/iso_8859_2.c b/enc/iso_8859_2.c
index 57340b3..9d49ffa 100644
--- a/enc/iso_8859_2.c
+++ b/enc/iso_8859_2.c
@@ -104,7 +104,7 @@ static const unsigned short EncISO_8859_2_CtypeTable[256] = {
};
static int
-mbc_case_fold(OnigCaseFoldType flag,
+iso_8859_2_mbc_case_fold(OnigCaseFoldType flag,
const UChar** pp, const UChar* end, UChar* lower,
OnigEncoding enc)
{
@@ -190,7 +190,7 @@ static const OnigPairCaseFoldCodes CaseFoldMap[] = {
};
static int
-apply_all_case_fold(OnigCaseFoldType flag,
+iso_8859_2_apply_all_case_fold(OnigCaseFoldType flag,
OnigApplyAllCaseFoldFunc f, void* arg,
OnigEncoding enc)
{
@@ -200,7 +200,7 @@ apply_all_case_fold(OnigCaseFoldType flag,
}
static int
-get_case_fold_codes_by_str(OnigCaseFoldType flag,
+iso_8859_2_get_case_fold_codes_by_str(OnigCaseFoldType flag,
const OnigUChar* p, const OnigUChar* end,
OnigCaseFoldCodeItem items[],
OnigEncoding enc)
@@ -211,7 +211,7 @@ get_case_fold_codes_by_str(OnigCaseFoldType flag,
}
static int
-is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc)
+iso_8859_2_is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc)
{
if (code < 256)
return ENC_IS_ISO_8859_2_CTYPE(code, ctype);
@@ -228,11 +228,11 @@ OnigEncodingDefine(iso_8859_2, ISO_8859_2) = {
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_2_mbc_case_fold,
+ iso_8859_2_apply_all_case_fold,
+ iso_8859_2_get_case_fold_codes_by_str,
onigenc_minimum_property_name_to_ctype,
- is_code_ctype,
+ iso_8859_2_is_code_ctype,
onigenc_not_support_get_ctype_code_range,
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match