From 10ff0f292e9b7cd673915fcc32f5d236c95c8d7d Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 13 Sep 2008 18:44:53 +0000 Subject: * include/ruby/oniguruma.h (ONIGENC_STEP_BACK): add end argument. (onigenc_step_back): ditto. * regenc.c (onigenc_step_back): add end argument. * regexec.c: follow the interface change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regenc.c') diff --git a/regenc.c b/regenc.c index f31c4ffdd2..a67774e30b 100644 --- a/regenc.c +++ b/regenc.c @@ -97,7 +97,7 @@ onigenc_get_prev_char_head(OnigEncoding enc, const UChar* start, const UChar* s, } extern UChar* -onigenc_step_back(OnigEncoding enc, const UChar* start, const UChar* s, int n) +onigenc_step_back(OnigEncoding enc, const UChar* start, const UChar* s, const UChar* end, int n) { while (ONIG_IS_NOT_NULL(s) && n-- > 0) { if (s <= start) -- cgit v1.2.3