The new regexp compilation function must be added to the engine structure.
[p5sagit/p5-mst-13.2.git] / ext / re / re_top.h
1 /* need to replace pregcomp et al, so enable that */
2 #ifndef PERL_IN_XSUB_RE
3 #  define PERL_IN_XSUB_RE
4 #endif
5 /* need access to debugger hooks */
6 #if defined(PERL_EXT_RE_DEBUG) && !defined(DEBUGGING)
7 #  define DEBUGGING
8 #endif
9
10 /* We *really* need to overwrite these symbols: */
11 #define Perl_regexec_flags      my_regexec
12 #define Perl_regdump            my_regdump
13 #define Perl_regprop            my_regprop
14 #define Perl_re_intuit_start    my_re_intuit_start
15 #define Perl_pregcomp           my_regcomp
16 #define Perl_re_compile         my_re_compile
17 #define Perl_regfree_internal   my_regfree
18 #define Perl_re_intuit_string   my_re_intuit_string
19 #define Perl_regdupe_internal   my_regdupe
20
21 #define PERL_NO_GET_CONTEXT
22
23 /*
24  * Local variables:
25  * c-indentation-style: bsd
26  * c-basic-offset: 4
27  * indent-tabs-mode: t
28  * End:
29  *
30  * ex: set ts=8 sts=4 sw=4 noet:
31  */