In perl.git, the branch maint-5.10 has been updated <http://perl5.git.perl.org/perl.git/commitdiff/2517d1858d72bab250cbc0a4130617a6491b5499?hp=9f67176c6f8430ee98735b695f7082ef2ec1855d>
- Log ----------------------------------------------------------------- commit 2517d1858d72bab250cbc0a4130617a6491b5499 Author: Nicholas Clark <[email protected]> Date: Fri Aug 7 21:07:05 2009 +0100 Revert "Remove GvREFCNT_inc(), which is deprecated and unused." Wrong branch. D'oh! This reverts commit 9f67176c6f8430ee98735b695f7082ef2ec1855d. ----------------------------------------------------------------------- Summary of changes: gv.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gv.h b/gv.h index 2e27453..afab66d 100644 --- a/gv.h +++ b/gv.h @@ -95,6 +95,9 @@ Return the SV from the GV. #define GvFORM(gv) (GvGP(gv)->gp_form) #define GvAV(gv) (GvGP(gv)->gp_av) +/* This macro is deprecated. Do not use! */ +#define GvREFCNT_inc(gv) ((GV*)SvREFCNT_inc(gv)) /* DO NOT USE */ + #define GvAVn(gv) (GvGP(gv)->gp_av ? \ GvGP(gv)->gp_av : \ GvGP(gv_AVadd(gv))->gp_av) -- Perl5 Master Repository
