diff options
author | David Mitchell <davem@iabyn.com> | 2015-08-13 12:07:38 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2015-08-17 11:16:23 +0100 |
commit | 7ede59473c4d7a55acad865d53265f59b4a6c628 (patch) | |
tree | d0dc5814833310aac219aaab37b0e65ab7076881 | |
parent | 808ce55782035154ec42358256dbec2e226977fe (diff) | |
download | perl-7ede59473c4d7a55acad865d53265f59b4a6c628.tar.gz |
Eliminate GvASSIGN_GENERATION and _set macros
Since we no longer scan package vars with PL_generation for
OPpASSIGN_COMMON* purposes, eliminate the macros used for that purpose.
-rw-r--r-- | gv.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -72,11 +72,6 @@ struct gp { #define GvNAME(gv) GvNAME_get(gv) #define GvNAMELEN(gv) GvNAMELEN_get(gv) -#define GvASSIGN_GENERATION(gv) (0 + ((XPV*) SvANY(gv))->xpv_len) -#define GvASSIGN_GENERATION_set(gv,val) \ - STMT_START { assert(SvTYPE(gv) == SVt_PVGV); \ - (((XPV*) SvANY(gv))->xpv_len = (val)); } STMT_END - /* =head1 GV Functions |