diff options
Diffstat (limited to 'enc/iso8859_9.c')
-rw-r--r-- | enc/iso8859_9.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/enc/iso8859_9.c b/enc/iso8859_9.c index c31685e76d..1a51fad64a 100644 --- a/enc/iso8859_9.c +++ b/enc/iso8859_9.c @@ -105,7 +105,8 @@ static const unsigned short EncISO_8859_9_CtypeTable[256] = { static int iso_8859_9_mbc_case_fold(OnigCaseFoldType flag, - const UChar** pp, const UChar* end, UChar* lower) + const UChar** pp, const UChar* end, UChar* lower, + OnigEncoding enc) { const UChar* p = *pp; @@ -149,7 +150,7 @@ iso_8859_9_is_mbc_ambiguous(OnigCaseFoldType flag, #endif static int -iso_8859_9_is_code_ctype(OnigCodePoint code, unsigned int ctype) +iso_8859_9_is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc) { if (code < 256) return ENC_IS_ISO_8859_9_CTYPE(code, ctype); @@ -193,7 +194,8 @@ static const OnigPairCaseFoldCodes CaseFoldMap[] = { static int iso_8859_9_apply_all_case_fold(OnigCaseFoldType flag, - OnigApplyAllCaseFoldFunc f, void* arg) + OnigApplyAllCaseFoldFunc f, void* arg, + OnigEncoding enc) { return onigenc_apply_all_case_fold_with_map( sizeof(CaseFoldMap)/sizeof(OnigPairCaseFoldCodes), CaseFoldMap, 1, @@ -202,7 +204,9 @@ iso_8859_9_apply_all_case_fold(OnigCaseFoldType flag, static int iso_8859_9_get_case_fold_codes_by_str(OnigCaseFoldType flag, - const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem items[]) + const OnigUChar* p, const OnigUChar* end, + OnigCaseFoldCodeItem items[], + OnigEncoding enc) { return onigenc_get_case_fold_codes_by_str_with_map( sizeof(CaseFoldMap)/sizeof(OnigPairCaseFoldCodes), CaseFoldMap, 1, |