lib/accessor.h
changeset 402 ffa2afab2806
parent 400 093b72cd2ac3
child 403 b6568471de90
--- a/lib/accessor.h	Tue Feb 07 20:18:11 2012 +0100
+++ b/lib/accessor.h	Tue Feb 07 20:20:19 2012 +0100
@@ -57,6 +57,7 @@
 	__INIT_RETAIN(domain##__##name, retained)
 #define __INIT_EXTERNAL(type, global, name, retained)\
     {\
+        type* __GET_GLOBAL_##global();\
 		name.value = __GET_GLOBAL_##global();\
 		__INIT_RETAIN(name, retained)\
     }