summaryrefslogtreecommitdiff
path: root/malloc_ctl.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-08-13 13:10:15 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-08-13 13:42:41 -0700
commit3455055faace06645b99a6ed63fce90144ab47e1 (patch)
tree9350e2e775578481c8b6801d3714d4241e4cf90b /malloc_ctl.h
parent4b567c50428833d40192718a32cf4ef48d410d4a (diff)
downloadperl-3455055faace06645b99a6ed63fce90144ab47e1.tar.gz
Copy PADTMPS passed to XSUBs
This resolves the last remaining issue in ticket #78194, that newRV is supposedly buggy because it doesn’t copy its referent. The full implications of the PADTMP are not explained anywhere in the API docs, and even XSUBs shouldn’t have to worry about special handling. (E.g., what if they do SvREFCNT_dec(SvRV(sv)); SvRV(sv)=...?) So the real solution here is not to let XSUBs see them.
Diffstat (limited to 'malloc_ctl.h')
0 files changed, 0 insertions, 0 deletions