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=8b600d05fabba0c0ac5bd37a6e15aadc9eac7ae2;p=gitmo%2FClass-MOP.git Move BOOT section in Package.xs --- diff --git a/xs/Package.xs b/xs/Package.xs index 42ac07a..5765778 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,9 +153,3 @@ get_method_map(self) } XPUSHs(map_ref); - -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);