summaryrefslogtreecommitdiff
path: root/ext/Devel
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 /ext/Devel
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 'ext/Devel')
-rw-r--r--ext/Devel/DProf/DProf.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Devel/DProf/DProf.xs b/ext/Devel/DProf/DProf.xs
index 69f0b899a3..220a1e2e92 100644
--- a/ext/Devel/DProf/DProf.xs
+++ b/ext/Devel/DProf/DProf.xs
@@ -561,7 +561,7 @@ XS(XS_DB_sub)
sv_setiv( DBsingle, 0 ); /* disable DB single-stepping */
#endif
- SAVEDESTRUCTOR(check_depth, (void*)depth);
+ SAVEDESTRUCTOR_X(check_depth, (void*)depth);
depth++;
prof_mark( OP_ENTERSUB );