summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2010-11-29 22:36:35 +1100
committerTony Cook <tony@develop-help.com>2010-11-29 22:38:18 +1100
commita932d541326b1fef3943a730adb350592857f19a (patch)
tree7dbaffeb88e002dc683f4c04bf7a7202e9a22b6b /perl.h
parentf5122dbf0e65ac96618bf95b58dbfac3cfb31c75 (diff)
downloadperl-a932d541326b1fef3943a730adb350592857f19a.tar.gz
Fix C++ build problems introduced in 9a5a5549
Fixes the following compilation errors: regexec.c: In function 'char* S_find_byclass(regexp*, const regnode*, char*, const char*, regmatch_info*)': regexec.c:1525: error: invalid conversion from 'I32 (*)(const char*, const char*, I32)' to 'I32 (*)()' regexec.c:1525: error: too many arguments to function regexec.c:1527: error: invalid conversion from 'I32 (*)(const char*, const char*, I32)' to 'I32 (*)()' regexec.c:1527: error: too many arguments to function
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 4f66da2cc3..901e33e4b6 100644
--- a/perl.h
+++ b/perl.h
@@ -4905,6 +4905,7 @@ typedef char* (*re_intuit_start_t) (pTHX_ regexp *prog, SV *sv,
typedef SV* (*re_intuit_string_t) (pTHX_ regexp *prog);
typedef void (*regfree_t) (pTHX_ struct regexp* r);
typedef regexp* (*regdupe_t) (pTHX_ const regexp* r, CLONE_PARAMS *param);
+typedef I32 (*re_fold_t)(const char *, char const *, I32);
typedef void (*DESTRUCTORFUNC_NOCONTEXT_t) (void*);
typedef void (*DESTRUCTORFUNC_t) (pTHX_ void*);