lib/accessor.h
changeset 708 6cc8255ecfe4
parent 706 31553c22f318
child 713 e3ca0f4d47b3
--- a/lib/accessor.h	Fri Nov 16 00:39:35 2012 +0100
+++ b/lib/accessor.h	Fri Nov 16 01:02:54 2012 +0100
@@ -23,7 +23,8 @@
 	static type *GLOBAL__##name = &(domain##__##name);\
 	type* __GET_GLOBAL_##name(void) {\
 		return &(*GLOBAL__##name);\
-	}
+	}\
+	extern void type##_init__(type* data__, BOOL retain);
 #define __DECLARE_GLOBAL_LOCATION(type, location)\
 	extern type *location;
 #define __DECLARE_GLOBAL_LOCATED(type, resource, name)\