perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <torsten.foert...@gmx.net>
Subject Re: Fwd: [rt.cpan.org #64999] GvCV and GvGP lvalue changes in perl core
Date Fri, 21 Jan 2011 18:04:00 GMT
On Friday, January 21, 2011 17:38:48 Fred Moyer wrote:
>    #ifndef GvCV_set
>    #  define GvCV_set(gv,cv)   (GvGP(gv)->gp_cv = (cv))
>    #endif
>    #ifndef GvGP_set
>    #  define GvGP_set(gv,gp)   ((gv)->sv_u.svu_gp = (gp))
>    #endif

probably better:

# define GvCV_set(gv, cv) (GvCV(gv)=(cv))
# define GvGP_set(gv, gp) (GvGP(gv)=(gp))

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message