equal
deleted
inserted
replaced
55 #define __INIT_GLOBAL_LOCATED(domain, name, location, retained)\ |
55 #define __INIT_GLOBAL_LOCATED(domain, name, location, retained)\ |
56 domain##__##name.value = location;\ |
56 domain##__##name.value = location;\ |
57 __INIT_RETAIN(domain##__##name, retained) |
57 __INIT_RETAIN(domain##__##name, retained) |
58 #define __INIT_EXTERNAL(type, global, name, retained)\ |
58 #define __INIT_EXTERNAL(type, global, name, retained)\ |
59 {\ |
59 {\ |
60 type* __GET_GLOBAL_##global();\ |
|
61 name.value = __GET_GLOBAL_##global();\ |
60 name.value = __GET_GLOBAL_##global();\ |
62 __INIT_RETAIN(name, retained)\ |
61 __INIT_RETAIN(name, retained)\ |
63 } |
62 } |
64 #define __INIT_LOCATED(type, location, name, retained)\ |
63 #define __INIT_LOCATED(type, location, name, retained)\ |
65 {\ |
64 {\ |