Nullsv et.al are deprecated
Florian Ragwitz [Sat, 13 Nov 2010 13:53:58 +0000 (14:53 +0100)]
Stash.xs

index f66b4a7..99c3b9c 100644 (file)
--- a/Stash.xs
+++ b/Stash.xs
@@ -497,19 +497,19 @@ remove_package_symbol(self, variable)
         GV *glob = (GV*)(*entry);
         switch (variable.type) {
         case VAR_SCALAR:
-            GvSV(glob) = Nullsv;
+            GvSV(glob) = (SV *)NULL;
             break;
         case VAR_ARRAY:
-            GvAV(glob) = Nullav;
+            GvAV(glob) = (AV *)NULL;
             break;
         case VAR_HASH:
-            GvHV(glob) = Nullhv;
+            GvHV(glob) = (HV *)NULL;
             break;
         case VAR_CODE:
-            GvCV(glob) = Nullcv;
+            GvCV(glob) = (CV *)NULL;
             break;
         case VAR_IO:
-            GvIOp(glob) = Null(IO*);
+            GvIOp(glob) = (IO *)NULL;
             break;
         }
     }