summaryrefslogtreecommitdiffstats
path: root/Stash.xs
diff options
context:
space:
mode:
Diffstat (limited to 'Stash.xs')
-rw-r--r--Stash.xs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Stash.xs b/Stash.xs
index 07c0238..07ed2cf 100644
--- a/Stash.xs
+++ b/Stash.xs
@@ -148,7 +148,7 @@ SV*
new(class, package_name)
char *class
SV *package_name
- INIT:
+ PREINIT:
HV *instance;
HV *namespace;
CODE:
@@ -168,7 +168,7 @@ new(class, package_name)
SV*
name(self)
SV *self
- INIT:
+ PREINIT:
SV **slot;
CODE:
if (!sv_isobject(self))
@@ -181,7 +181,7 @@ name(self)
SV*
namespace(self)
SV *self
- INIT:
+ PREINIT:
SV **slot;
CODE:
if (!sv_isobject(self))
@@ -195,7 +195,7 @@ void
remove_package_glob(self, name)
SV *self
char *name
- INIT:
+ PREINIT:
HV *namespace;
CODE:
hv_delete(_get_namespace(self), name, strlen(name), G_DISCARD);