summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-10 20:42:40 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-10 20:42:40 +0000
commitc76ac1ee16c5c9591d8ffad5a0651b7f81738b68 (patch)
tree26af37f6b40806cfedd24504ae354c5b90d4c471 /proto.h
parenta99ba4038e8029c0d033ef497d3a0f8653f0d570 (diff)
downloadperl-c76ac1ee16c5c9591d8ffad5a0651b7f81738b68.tar.gz
revert SAVEDESTRUCTOR() to accepting void(*)(void*) for source
compatibility; introduce SAVEDESTRUCTOR_X() that accepts void(*)(pTHX_ void*) p4raw-id: //depot/perl@4339
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 2f68d9bd69..6551c31179 100644
--- a/proto.h
+++ b/proto.h
@@ -510,7 +510,8 @@ VIRTUAL void Perl_save_aptr(pTHX_ AV** aptr);
VIRTUAL AV* Perl_save_ary(pTHX_ GV* gv);
VIRTUAL void Perl_save_clearsv(pTHX_ SV** svp);
VIRTUAL void Perl_save_delete(pTHX_ HV* hv, char* key, I32 klen);
-VIRTUAL void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_t f, void* p);
+VIRTUAL void Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p);
+VIRTUAL void Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p);
VIRTUAL void Perl_save_freesv(pTHX_ SV* sv);
VIRTUAL void Perl_save_freeop(pTHX_ OP* o);
VIRTUAL void Perl_save_freepv(pTHX_ char* pv);