X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Hooks.git;a=blobdiff_plain;f=Hooks.xs;fp=Hooks.xs;h=9d3c6bac06ae00f4dd5e1471b2fc52cc96d0df61;hp=d23588011e6d1f808f9e74a792c84248a135756e;hb=4a9aed6a870d6a954c42bac71334dd440780b226;hpb=4e256c771a17a4f8f3e7c6e352ab133b106b92f4 diff --git a/Hooks.xs b/Hooks.xs index d235880..9d3c6ba 100644 --- a/Hooks.xs +++ b/Hooks.xs @@ -121,8 +121,16 @@ EXTERN_C REGEXP *reh_re_compile(pTHX_ const SV * const, const U32); #else EXTERN_C REGEXP *reh_re_compile(pTHX_ SV * const, U32); #endif +#if REH_HAS_PERL(5, 19, 4) +EXTERN_C I32 reh_regexec_flags(pTHX_ REGEXP * const, char *, char *, char *, SSize_t, SV *, void *, U32); +#else EXTERN_C I32 reh_regexec_flags(pTHX_ REGEXP * const, char *, char *, char *, I32, SV *, void *, U32); +#endif +#if REH_HAS_PERL(5, 19, 1) +EXTERN_C char * reh_re_intuit_start(pTHX_ REGEXP * const, SV *, const char * const, char *, char *, U32, re_scream_pos_data *); +#else EXTERN_C char * reh_re_intuit_start(pTHX_ REGEXP * const, SV *, char *, char *, U32, re_scream_pos_data *); +#endif EXTERN_C SV * reh_re_intuit_string(pTHX_ REGEXP * const); EXTERN_C void reh_re_free(pTHX_ REGEXP * const); EXTERN_C void reh_reg_numbered_buff_fetch(pTHX_ REGEXP * const,