From: Vincent Pit Date: Sun, 8 Feb 2009 11:10:58 +0000 (+0100) Subject: mPUSHi is no longer needed, but mPUSHu does X-Git-Tag: v0.30~13 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=e0b73d014081cd1b04b529deeb606b6459282cfe;p=perl%2Fmodules%2FVariable-Magic.git mPUSHi is no longer needed, but mPUSHu does --- diff --git a/Magic.xs b/Magic.xs index 6585817..e474114 100644 --- a/Magic.xs +++ b/Magic.xs @@ -97,8 +97,8 @@ STATIC SV *vmg_clone(pTHX_ SV *sv, tTHX owner) { # define SvMAGIC_set(sv, val) (SvMAGIC(sv) = (val)) #endif -#ifndef mPUSHi -# define mPUSHi(I) PUSHs(sv_2mortal(newSViv(I))) +#ifndef mPUSHu +# define mPUSHu(U) PUSHs(sv_2mortal(newSVuv(U))) #endif #ifndef PERL_MAGIC_ext