From: Jesse Luehrs Date: Fri, 12 Nov 2010 10:10:56 +0000 (-0600) Subject: oops, these are supposed to be PREINIT X-Git-Tag: 0.14~59 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3496f1e82bb0e73feebec1ddbc7edbce3e83e55f;p=gitmo%2FPackage-Stash-XS.git oops, these are supposed to be PREINIT --- 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);