convert the rest of the simple readers in cmop to xs
[gitmo/Class-MOP.git] / xs / Attribute.xs
diff --git a/xs/Attribute.xs b/xs/Attribute.xs
new file mode 100644 (file)
index 0000000..6314af8
--- /dev/null
@@ -0,0 +1,9 @@
+#include "mop.h"
+
+MODULE = Class::MOP::Attribute   PACKAGE = Class::MOP::Attribute
+
+PROTOTYPES: DISABLE
+
+BOOT:
+    INSTALL_SIMPLE_READER(Attribute, associated_class);
+    INSTALL_SIMPLE_READER(Attribute, associated_methods);