mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* reg*.c: Merge Onigmo 5.15.0 38a870960aa7370051a3544
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d198d64e04
commit
d2a5354255
33 changed files with 390 additions and 236 deletions
|
|
@ -210,7 +210,7 @@ apply_all_case_fold(OnigCaseFoldType flag,
|
|||
OnigEncoding enc ARG_UNUSED)
|
||||
{
|
||||
return onigenc_apply_all_case_fold_with_map(
|
||||
sizeof(CaseFoldMap)/sizeof(OnigPairCaseFoldCodes), CaseFoldMap, 1,
|
||||
numberof(CaseFoldMap), CaseFoldMap, 1,
|
||||
flag, f, arg);
|
||||
}
|
||||
|
||||
|
|
@ -221,7 +221,7 @@ get_case_fold_codes_by_str(OnigCaseFoldType flag,
|
|||
OnigEncoding enc ARG_UNUSED)
|
||||
{
|
||||
return onigenc_get_case_fold_codes_by_str_with_map(
|
||||
sizeof(CaseFoldMap)/sizeof(OnigPairCaseFoldCodes), CaseFoldMap, 1,
|
||||
numberof(CaseFoldMap), CaseFoldMap, 1,
|
||||
flag, p, end, items);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue