diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-22 05:45:45 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-22 05:45:45 +0000 |
commit | 14b524b6b01bde70f207a049bd78899eb88823b8 (patch) | |
tree | c9afc4e0efccd712c29391cb9aca60ed049188c7 /regenc.c | |
parent | cadbde584a83b64cef1812300d69c436808a32fc (diff) | |
download | ruby-14b524b6b01bde70f207a049bd78899eb88823b8.tar.gz |
regenc.h/c: Define new function onigenc_not_support_case_map
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regenc.c')
-rw-r--r-- | regenc.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -576,6 +576,15 @@ onigenc_not_support_get_ctype_code_range(OnigCtype ctype ARG_UNUSED, return ONIG_NO_SUPPORT_CONFIG; } +#ifdef ONIG_CASE_MAPPING +extern int +onigenc_not_support_case_map (OnigCaseFoldType* flagP, const OnigUChar** pp, const OnigUChar* end, OnigUChar* to, OnigUChar* to_end, const struct OnigEncodingTypeST* enc) +{ + fprintf(stderr, "Unimplemented case mapping functionality: onigenc_not_support_case_map\n"); + return ONIG_NO_SUPPORT_CONFIG; +} +#endif /* ONIG_CASE_MAPPING */ + extern int onigenc_is_mbc_newline_0x0a(const UChar* p, const UChar* end, OnigEncoding enc ARG_UNUSED) { |