1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2007-09-07 16:47:40 +00:00
parent a22a489cde
commit 24eeec7a71
3 changed files with 7 additions and 2 deletions

View file

@ -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> Fri Sep 7 00:58:16 2007 Koichi Sasada <ko1@atdot.net>
* common.mk: fix typo. * common.mk: fix typo.

View file

@ -592,7 +592,7 @@ onigenc_ascii_is_mbc_ambiguous(OnigCaseFoldType flag,
#endif #endif
extern int 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; return 1;
} }

View file

@ -117,7 +117,7 @@ ONIG_EXTERN int onigenc_is_mbc_newline_0x0a P_((const UChar* p, const UChar* end
/* methods for single byte encoding */ /* 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_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 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_mbclen P_((OnigCodePoint code));
ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *buf)); ONIG_EXTERN int onigenc_single_byte_code_to_mbc P_((OnigCodePoint code, UChar *buf));