From 19416601a0af3b7c99a570ae6993cb29e4360e64 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 13 Sep 2008 19:23:52 +0000 Subject: * include/ruby/oniguruma.h (OnigEncodingTypeST): add end argument for left_adjust_char_head. (ONIGENC_LEFT_ADJUST_CHAR_HEAD): add end argument. (onigenc_get_left_adjust_char_head): ditto. * include/ruby/encoding.h (rb_enc_left_char_head): add end argument. * regenc.h (onigenc_single_byte_left_adjust_char_head): ditto. * regenc.c (onigenc_get_right_adjust_char_head): follow the interface change. (onigenc_get_right_adjust_char_head_with_prev): ditto. (onigenc_get_prev_char_head): ditto. (onigenc_step_back): ditto. (onigenc_get_left_adjust_char_head): ditto. (onigenc_single_byte_code_to_mbc): ditto. * re.c: ditto. * string.c: ditto. * io.c: ditto. * regexec.c: ditto. * enc/euc_jp.c: ditto. * enc/cp949.c: ditto. * enc/shift_jis.c: ditto. * enc/gbk.c: ditto. * enc/big5.c: ditto. * enc/euc_tw.c: ditto. * enc/euc_kr.c: ditto. * enc/emacs_mule.c: ditto. * enc/gb18030.c: ditto. * enc/utf_8.c: ditto. * enc/utf_16le.c: ditto. * enc/utf_16be.c: ditto. * enc/utf_32le.c: ditto. * enc/utf_32be.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enc/gb18030.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enc/gb18030.c') diff --git a/enc/gb18030.c b/enc/gb18030.c index 2b707d4a7d..16c8c1c17f 100644 --- a/enc/gb18030.c +++ b/enc/gb18030.c @@ -245,7 +245,7 @@ enum state { }; static UChar* -gb18030_left_adjust_char_head(const UChar* start, const UChar* s, OnigEncoding enc) +gb18030_left_adjust_char_head(const UChar* start, const UChar* s, const UChar* end, OnigEncoding enc) { const UChar *p; enum state state = S_START; -- cgit v1.2.1