From: Jesse Luehrs Date: Sat, 13 Nov 2010 03:42:40 +0000 (-0600) Subject: explicitly don't pass args to the accessors X-Git-Tag: 0.14~45 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a84abffa49e17e9469fa7e79c4c8779878b23ba2;p=gitmo%2FPackage-Stash-XS.git explicitly don't pass args to the accessors --- diff --git a/Stash.xs b/Stash.xs index dec97df..7cb0705 100644 --- a/Stash.xs +++ b/Stash.xs @@ -168,7 +168,7 @@ HV *_get_namespace(SV *self) XPUSHs(self); PUTBACK; - call_method("namespace", G_SCALAR); + call_method("namespace", G_SCALAR | G_NOARGS); SPAGAIN; ret = POPs; @@ -186,7 +186,7 @@ SV *_get_name(SV *self) XPUSHs(self); PUTBACK; - call_method("name", G_SCALAR); + call_method("name", G_SCALAR | G_NOARGS); SPAGAIN; ret = POPs;