This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The new regexp compilation function must be added to the engine structure.
[perl5.git] / ext / re / re_top.h
CommitLineData
54df2634
NC
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: */
84da74a7
YO
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
3c6f95d1 16#define Perl_re_compile my_re_compile
f8149455 17#define Perl_regfree_internal my_regfree
84da74a7 18#define Perl_re_intuit_string my_re_intuit_string
f8149455 19#define Perl_regdupe_internal my_regdupe
54df2634
NC
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 */