summaryrefslogtreecommitdiff
path: root/regenc.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-13 18:44:53 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-13 18:44:53 +0000
commit10ff0f292e9b7cd673915fcc32f5d236c95c8d7d (patch)
tree46268e826056e50691370d03a555299816dc50b8 /regenc.c
parenta953d28e3c8827f40eb803876be3fdc29e8e0b30 (diff)
downloadruby-10ff0f292e9b7cd673915fcc32f5d236c95c8d7d.tar.gz
* 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
Diffstat (limited to 'regenc.c')
-rw-r--r--regenc.c2
1 files changed, 1 insertions, 1 deletions
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)