From: Jerry D. Hedden Date: Wed, 6 Dec 2006 11:12:13 +0000 (-0800) Subject: Perl_save_destructor is not a mathom X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=12ab1f5870d67c16798ce1851c193e75f4346248;p=p5sagit%2Fp5-mst-13.2.git Perl_save_destructor is not a mathom From: "Jerry D. Hedden" Message-ID: <20061206191213.35036.qmail@web30206.mail.mud.yahoo.com> p4raw-id: //depot/perl@29482 --- diff --git a/mathoms.c b/mathoms.c index 8b526ab..19c4979 100644 --- a/mathoms.c +++ b/mathoms.c @@ -1223,17 +1223,6 @@ Perl_save_list(pTHX_ register SV **sarg, I32 maxsarg) } } -void -Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p) -{ - dVAR; - SSCHECK(3); - SSPUSHDPTR(f); - SSPUSHPTR(p); - SSPUSHINT(SAVEt_DESTRUCTOR); -} - - /* =for apidoc sv_usepvn_mg diff --git a/scope.c b/scope.c index 03b14e8..abe9a05 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;