From: Florian Ragwitz Date: Sat, 13 Nov 2010 13:53:58 +0000 (+0100) Subject: Nullsv et.al are deprecated X-Git-Tag: 0.14~41 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4e3b237e8f8adda7cb9a30645885738543c011fc;p=gitmo%2FPackage-Stash-XS.git Nullsv et.al are deprecated --- diff --git a/Stash.xs b/Stash.xs index f66b4a7..99c3b9c 100644 --- 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; } }