Revert "explicitly don't pass args to the accessors"
Jesse Luehrs [Sat, 13 Nov 2010 04:29:08 +0000 (22:29 -0600)]
This reverts commit a84abffa49e17e9469fa7e79c4c8779878b23ba2.

errr, the invocant is totally an arg

Stash.xs

index 7cb0705..dec97df 100644 (file)
--- a/Stash.xs
+++ b/Stash.xs
@@ -168,7 +168,7 @@ HV *_get_namespace(SV *self)
     XPUSHs(self);
     PUTBACK;
 
-    call_method("namespace", G_SCALAR | G_NOARGS);
+    call_method("namespace", G_SCALAR);
 
     SPAGAIN;
     ret = POPs;
@@ -186,7 +186,7 @@ SV *_get_name(SV *self)
     XPUSHs(self);
     PUTBACK;
 
-    call_method("name", G_SCALAR | G_NOARGS);
+    call_method("name", G_SCALAR);
 
     SPAGAIN;
     ret = POPs;