]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
mPUSHi is no longer needed, but mPUSHu does
authorVincent Pit <vince@profvince.com>
Sun, 8 Feb 2009 11:10:58 +0000 (12:10 +0100)
committerVincent Pit <vince@profvince.com>
Sun, 8 Feb 2009 11:10:58 +0000 (12:10 +0100)
Magic.xs

index 65858173557c76dd7977609b65b4dc462af8df5c..e4741147ddbea8a4efef27ac5ba534f629cbe596 100644 (file)
--- 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