From: Jarkko Hietaniemi Date: Thu, 21 Feb 2002 21:01:36 +0000 (+0000) Subject: Externalization from Jatan Shah . X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=97f88e98ef11d37351fa5dff900a7233f5a4d2ff;p=p5sagit%2Fp5-mst-13.2.git Externalization from Jatan Shah . p4raw-id: //depot/perl@14818 --- diff --git a/ext/re/re.xs b/ext/re/re.xs index 98b7b82..11239d7 100644 --- a/ext/re/re.xs +++ b/ext/re/re.xs @@ -7,6 +7,8 @@ #include "perl.h" #include "XSUB.h" +START_EXTERN_C + extern regexp* my_regcomp (pTHX_ char* exp, char* xend, PMOP* pm); extern I32 my_regexec (pTHX_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, @@ -17,6 +19,8 @@ extern char* my_re_intuit_start (pTHX_ regexp *prog, SV *sv, char *strpos, struct re_scream_pos_data_s *data); extern SV* my_re_intuit_string (pTHX_ regexp *prog); +END_EXTERN_C + #define MY_CXT_KEY "re::_guts" XS_VERSION typedef struct {