summaryrefslogtreecommitdiff
path: root/embed.pl
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 /embed.pl
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 'embed.pl')
-rwxr-xr-xembed.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed.pl b/embed.pl
index 9f90d53284..e44ba23dd0 100755
--- a/embed.pl
+++ b/embed.pl
@@ -1529,7 +1529,8 @@ p |void |save_aptr |AV** aptr
p |AV* |save_ary |GV* gv
p |void |save_clearsv |SV** svp
p |void |save_delete |HV* hv|char* key|I32 klen
-p |void |save_destructor|DESTRUCTORFUNC_t f|void* p
+p |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|void* p
+p |void |save_destructor_x|DESTRUCTORFUNC_t f|void* p
p |void |save_freesv |SV* sv
p |void |save_freeop |OP* o
p |void |save_freepv |char* pv