From: gfx Date: Mon, 31 Aug 2009 06:48:38 +0000 (+0900) Subject: Move BOOT section in Package.xs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b97582b7f232ce891d2160d620314aeb3a35ce4c;p=gitmo%2FClass-MOP.git Move BOOT section in Package.xs --- diff --git a/xs/Package.xs b/xs/Package.xs index dea0e57..662f854 100644 --- a/xs/Package.xs +++ b/xs/Package.xs @@ -83,6 +83,12 @@ PROTOTYPES: DISABLE VERSIONCHECK: DISABLE +BOOT: + INSTALL_SIMPLE_READER_WITH_KEY(Package, name, package); + INSTALL_SIMPLE_READER_WITH_KEY(Package, _method_map, methods); + INSTALL_SIMPLE_READER(Package, method_metaclass); + INSTALL_SIMPLE_READER(Package, wrapped_method_metaclass); + void get_all_package_symbols(self, filter=TYPE_FILTER_NONE) SV *self @@ -147,6 +153,3 @@ get_method_map(self) } XPUSHs(map_ref); - -BOOT: - INSTALL_SIMPLE_READER_WITH_KEY(Package, name, package);