This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add CvSTASH_set() macro and make CvSTASH() rvalue only
authorZefram <zefram@fysh.org>
Mon, 25 Oct 2010 22:34:23 +0000 (23:34 +0100)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 26 Oct 2010 00:45:14 +0000 (17:45 -0700)
commitc68d956458c78806cbdba85dfe23247f62e143d5
treec61fbddcbc0d54a524e6ae2c5c1b4a65a60319b3
parent3ba4b5c12a24a4d2dd2388527109b05429b3565c
add CvSTASH_set() macro and make CvSTASH() rvalue only

Now that CvSTASH requires backreference bookkeeping, stop people from
directly assigning to it (by using CvSTASH() as an lvalue), and instead
force them to use CvSTASH_set().
cv.h
embed.fnc
embed.h
global.sym
gv.c
op.c
pad.c
proto.h
sv.c