summaryrefslogtreecommitdiff
path: root/xs/Attribute.xs
diff options
context:
space:
mode:
Diffstat (limited to 'xs/Attribute.xs')
-rw-r--r--xs/Attribute.xs9
1 files changed, 9 insertions, 0 deletions
diff --git a/xs/Attribute.xs b/xs/Attribute.xs
new file mode 100644
index 0000000..6314af8
--- /dev/null
+++ b/xs/Attribute.xs
@@ -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);