summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2006-12-06 03:12:13 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-12-07 09:07:25 +0000
commit12ab1f5870d67c16798ce1851c193e75f4346248 (patch)
tree3c1a85d942ebfd58d227ddc904e78a088466bfd8 /scope.c
parent753c3620c0b8f667209c768cc917ce9dde3b23ce (diff)
downloadperl-12ab1f5870d67c16798ce1851c193e75f4346248.tar.gz
Perl_save_destructor is not a mathom
From: "Jerry D. Hedden" <jdhedden@yahoo.com> Message-ID: <20061206191213.35036.qmail@web30206.mail.mud.yahoo.com> p4raw-id: //depot/perl@29482
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/scope.c b/scope.c
index 03b14e8499..abe9a0542b 100644
--- a/scope.c
+++ b/scope.c
@@ -503,6 +503,16 @@ Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
}
void
+Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
+{
+ dVAR;
+ SSCHECK(3);
+ SSPUSHDPTR(f);
+ SSPUSHPTR(p);
+ SSPUSHINT(SAVEt_DESTRUCTOR);
+}
+
+void
Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p)
{
dVAR;