Merged CMOP into Moose
[gitmo/Moose.git] / xs / Method.xs
diff --git a/xs/Method.xs b/xs/Method.xs
new file mode 100644 (file)
index 0000000..590cd06
--- /dev/null
@@ -0,0 +1,10 @@
+#include "mop.h"
+
+MODULE = Class::MOP::Method   PACKAGE = Class::MOP::Method
+
+PROTOTYPES: DISABLE
+
+BOOT:
+    INSTALL_SIMPLE_READER(Method, name);
+    INSTALL_SIMPLE_READER(Method, package_name);
+    INSTALL_SIMPLE_READER(Method, body);