From: Jesse Luehrs Date: Tue, 18 Oct 2011 18:18:42 +0000 (-0500) Subject: oops, i wanted this sv type X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fno-gv_fetch;p=gitmo%2FPackage-Stash-XS.git oops, i wanted this sv type --- diff --git a/XS.xs b/XS.xs index c7bc662..e4b6af3 100644 --- a/XS.xs +++ b/XS.xs @@ -562,7 +562,7 @@ add_symbol(self, variable, initial=NULL, ...) gv_init(glob, namespace, name, len, 1); } - switch (SvTYPE(glob)) { + switch (vartype_to_svtype(variable.type)) { case SVt_PVIO: (void)GvIOn(glob); break;