]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
We don't need a (wrong) compatibility macro for NewOp, since we only use it on 5.10
authorVincent Pit <vince@profvince.com>
Sat, 28 Feb 2009 15:51:35 +0000 (16:51 +0100)
committerVincent Pit <vince@profvince.com>
Sat, 28 Feb 2009 15:51:35 +0000 (16:51 +0100)
Magic.xs

index 590d6afe3cf593e37f37c8c5825c3e35db59d603..0915f4b861a527a5ba6337a57174e81db5fec5ad 100644 (file)
--- a/Magic.xs
+++ b/Magic.xs
@@ -89,10 +89,6 @@ STATIC SV *vmg_clone(pTHX_ SV *sv, tTHX owner) {
 # define Newx(v, n, c) New(0, v, n, c)
 #endif
 
-#ifndef NewOp
-# define NewOp(m, var, c, type) Newz(m, var, c, type)
-#endif
-
 #ifndef SvMAGIC_set
 # define SvMAGIC_set(sv, val) (SvMAGIC(sv) = (val))
 #endif