diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-07 16:47:40 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-07 16:47:40 +0000 |
commit | 24eeec7a719e08b8c9d20d1ff63bd1fda1b5d663 (patch) | |
tree | fe3235e079ba04bd7b8d68f7945caac5ff82445d | |
parent | a22a489cdeafc3a92db2bd1dead932fac6cb3a4f (diff) |
* regenc.c, regenc.h (onigenc_single_byte_mbc_enc_len): should take
two arguments. [ruby-dev:31754]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | regenc.c | 2 | ||||
-rw-r--r-- | regenc.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sat Sep 8 01:46:36 2007 NAKAMURA Usaku <usa@ruby-lang.org> + + * regenc.c, regenc.h (onigenc_single_byte_mbc_enc_len): should take + two arguments. [ruby-dev:31754] + Fri Sep 7 00:58:16 2007 Koichi Sasada <ko1@atdot.net> * common.mk: fix typo. @@ -592,7 +592,7 @@ onigenc_ascii_is_mbc_ambiguous(OnigCaseFoldType flag, #endif extern int -onigenc_single_byte_mbc_enc_len(const UChar* p) +onigenc_single_byte_mbc_enc_len(const UChar* p, const UChar* e) { return 1; } @@ -117,7 +117,7 @@ ONIG_EXTERN int onigenc_is_mbc_newline_0x0a P_((const UChar* p, const UChar* end /* methods for single byte encoding */ ONIG_EXTERN int onigenc_ascii_mbc_case_fold P_((OnigCaseFoldType flag, const UChar** p, const UChar* end, UChar* lower)); -ONIG_EXTERN int onigenc_single_byte_mbc_enc_len P_((const UChar* p)); +ONIG_EXTERN int onigenc_single_byte_mbc_enc_len P_((const UChar* p, const UChar* e)); ONIG_EXTERN OnigCodePoint onigenc_single_byte_mbc_to_code P_((const UChar* p, const UChar* end)); ONIG_EXTERN int onigenc_single_byte_code_to_mbclen P_((OnigCodePoint code)); ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *buf)); |