]> granicus.if.org Git - onig/commitdiff
add onig_get_right_range_of_callout_args()
authorK.Kosako <kosako@sofnec.co.jp>
Tue, 13 Feb 2018 06:11:57 +0000 (15:11 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Tue, 13 Feb 2018 06:11:57 +0000 (15:11 +0900)
src/oniguruma.h
src/regexec.c

index 0ba3f7434150822448cc80a91db6428b6891fc30..4daf2c1b6f0bf1513a8739eed5b65404a6afc26f 100644 (file)
@@ -943,6 +943,8 @@ const OnigUChar* onig_get_content_end_of_callout_args P_((OnigCalloutArgs* args)
 ONIG_EXTERN
 const OnigUChar* onig_get_start_of_callout_args P_((OnigCalloutArgs* args));
 ONIG_EXTERN
+const OnigUChar* onig_get_right_range_of_callout_args P_((OnigCalloutArgs* args));
+ONIG_EXTERN
 const OnigUChar* onig_get_current_of_callout_args P_((OnigCalloutArgs* args));
 ONIG_EXTERN
 OnigRegex onig_get_regex_of_callout_args P_((OnigCalloutArgs* args));
index 3925d7d974eb48e808140987f522c8c044e0fb94..a51298e7ac151af437a7072d95b0aaa6e30d596d 100644 (file)
@@ -4928,6 +4928,13 @@ onig_get_start_of_callout_args(OnigCalloutArgs* args)
   return a->start;
 }
 
+extern const UChar*
+onig_get_right_range_of_callout_args(OnigCalloutArgs* args)
+{
+  CalloutArgs* a = (CalloutArgs* )args;
+  return a->right_range;
+}
+
 extern const UChar*
 onig_get_current_of_callout_args(OnigCalloutArgs* args)
 {