ONIG_EXTERN
int onig_callout_tag_is_exist_at_callout_num P_((OnigRegex reg, int callout_num));
ONIG_EXTERN
-UChar* onig_get_tag_start_by_callout_num P_((OnigRegex reg, int num));
+const UChar* onig_get_tag_start_by_callout_num P_((OnigRegex reg, int num));
ONIG_EXTERN
-UChar* onig_get_tag_end_by_callout_num P_((OnigRegex reg, int num));
+const UChar* onig_get_tag_end_by_callout_num P_((OnigRegex reg, int num));
ONIG_EXTERN
int onig_get_callout_data_by_callout_num_dont_clear_old P_((OnigRegex reg, OnigMatchParam* mp, int num, int slot, OnigType* type, OnigValue* val));
ONIG_EXTERN
OnigCalloutOf of;
int in;
int name_id;
- UChar* tag_start;
- UChar* tag_end;
+ const UChar* tag_start;
+ const UChar* tag_end;
OnigCalloutType type;
OnigCalloutFunc start_func;
OnigCalloutFunc end_func;
return e->start_func;
}
-extern UChar*
+extern const UChar*
onig_get_tag_start_by_callout_num(regex_t* reg, int num)
{
CalloutListEntry* e = onig_reg_callout_list_at(reg, num);
return e->tag_start;
}
-extern UChar*
+extern const UChar*
onig_get_tag_end_by_callout_num(regex_t* reg, int num)
{
CalloutListEntry* e = onig_reg_callout_list_at(reg, num);