summaryrefslogtreecommitdiff
path: root/perlapi.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-01 08:52:16 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-01 08:52:16 +0000
commita86f0dc98a98470272f57769cfd209896e37a52f (patch)
tree65d0ad7a6df4a09bcf60ae485ca84eb5c1da7bd3 /perlapi.c
parentb1c7b182089ae182f17e92b5d889352bce844aeb (diff)
downloadperl-a86f0dc98a98470272f57769cfd209896e37a52f.tar.gz
export pregexec(), Tk uses it
p4raw-id: //depot/perl@4939
Diffstat (limited to 'perlapi.c')
-rw-r--r--perlapi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/perlapi.c b/perlapi.c
index 6cf5147c25..4badd9f7fa 100644
--- a/perlapi.c
+++ b/perlapi.c
@@ -2212,6 +2212,13 @@ Perl_regdump(pTHXo_ regexp* r)
((CPerlObj*)pPerl)->Perl_regdump(r);
}
+#undef Perl_pregexec
+I32
+Perl_pregexec(pTHXo_ regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, U32 nosave)
+{
+ return ((CPerlObj*)pPerl)->Perl_pregexec(prog, stringarg, strend, strbeg, minend, screamer, nosave);
+}
+
#undef Perl_pregfree
void
Perl_pregfree(pTHXo_ struct regexp* r)