diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-08-13 13:10:15 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-08-13 13:42:41 -0700 |
commit | 3455055faace06645b99a6ed63fce90144ab47e1 (patch) | |
tree | 9350e2e775578481c8b6801d3714d4241e4cf90b /cv.h | |
parent | 4b567c50428833d40192718a32cf4ef48d410d4a (diff) | |
download | perl-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 'cv.h')
0 files changed, 0 insertions, 0 deletions