diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-09-26 22:29:09 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-09-26 22:29:09 +0000 |
commit | a3c0e9caa94eb215eb66e54d6286c77ccf441f01 (patch) | |
tree | 6b3f99fb79ffb54e76b7cda0e388f65417e5c1c2 /proto.h | |
parent | 03363afd3c2c023b9096c021741ecc63bc0de7dd (diff) | |
download | perl-a3c0e9caa94eb215eb66e54d6286c77ccf441f01.tar.gz |
Make Perl_regdupe only exist for threaded perls.
p4raw-id: //depot/perl@28893
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1833,10 +1833,12 @@ PERL_CALLCONV I32 Perl_pregexec(pTHX_ regexp* prog, char* stringarg, char* stren __attribute__nonnull__(pTHX_6); PERL_CALLCONV void Perl_pregfree(pTHX_ struct regexp* r); +#if defined(USE_ITHREADS) PERL_CALLCONV regexp* Perl_regdupe(pTHX_ const regexp* r, CLONE_PARAMS* param) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2); +#endif PERL_CALLCONV regexp* Perl_pregcomp(pTHX_ char* exp, char* xend, PMOP* pm) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2) |