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