mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
9d52fda376
commit
a13c1148a9
11 changed files with 119 additions and 96 deletions
|
|
@ -104,7 +104,7 @@ static const unsigned short EncISO_8859_4_CtypeTable[256] = {
|
|||
};
|
||||
|
||||
static int
|
||||
mbc_case_fold(OnigCaseFoldType flag,
|
||||
iso_8859_4_mbc_case_fold(OnigCaseFoldType flag,
|
||||
const UChar** pp, const UChar* end, UChar* lower,
|
||||
OnigEncoding enc)
|
||||
{
|
||||
|
|
@ -148,7 +148,7 @@ is_mbc_ambiguous(OnigCaseFoldType flag, const UChar** pp, const UChar* end)
|
|||
#endif
|
||||
|
||||
static int
|
||||
is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc)
|
||||
iso_8859_4_is_code_ctype(OnigCodePoint code, unsigned int ctype, OnigEncoding enc)
|
||||
{
|
||||
if (code < 256)
|
||||
return ENC_IS_ISO_8859_4_CTYPE(code, ctype);
|
||||
|
|
@ -201,7 +201,7 @@ static const OnigPairCaseFoldCodes CaseFoldMap[] = {
|
|||
};
|
||||
|
||||
static int
|
||||
apply_all_case_fold(OnigCaseFoldType flag,
|
||||
iso_8859_4_apply_all_case_fold(OnigCaseFoldType flag,
|
||||
OnigApplyAllCaseFoldFunc f, void* arg,
|
||||
OnigEncoding enc)
|
||||
{
|
||||
|
|
@ -211,7 +211,7 @@ apply_all_case_fold(OnigCaseFoldType flag,
|
|||
}
|
||||
|
||||
static int
|
||||
get_case_fold_codes_by_str(OnigCaseFoldType flag,
|
||||
iso_8859_4_get_case_fold_codes_by_str(OnigCaseFoldType flag,
|
||||
const OnigUChar* p, const OnigUChar* end,
|
||||
OnigCaseFoldCodeItem items[],
|
||||
OnigEncoding enc)
|
||||
|
|
@ -230,11 +230,11 @@ OnigEncodingDefine(iso_8859_4, ISO_8859_4) = {
|
|||
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_4_mbc_case_fold,
|
||||
iso_8859_4_apply_all_case_fold,
|
||||
iso_8859_4_get_case_fold_codes_by_str,
|
||||
onigenc_minimum_property_name_to_ctype,
|
||||
is_code_ctype,
|
||||
iso_8859_4_is_code_ctype,
|
||||
onigenc_not_support_get_ctype_code_range,
|
||||
onigenc_single_byte_left_adjust_char_head,
|
||||
onigenc_always_true_is_allowed_reverse_match
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue