summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-07 16:47:40 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-07 16:47:40 +0000
commit24eeec7a719e08b8c9d20d1ff63bd1fda1b5d663 (patch)
treefe3235e079ba04bd7b8d68f7945caac5ff82445d
parenta22a489cdeafc3a92db2bd1dead932fac6cb3a4f (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--ChangeLog5
-rw-r--r--regenc.c2
-rw-r--r--regenc.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a3838ec7d1..2cc1dfb4bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/regenc.c b/regenc.c
index ed73bde5ef..20994bb11f 100644
--- a/regenc.c
+++ b/regenc.c
@@ -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;
}
diff --git a/regenc.h b/regenc.h
index 55a71ab449..47653fd94a 100644
--- a/regenc.h
+++ b/regenc.h
@@ -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));