lib/accessor.h
changeset 497 5b7a0d9838d2
parent 403 b6568471de90
child 706 31553c22f318
equal deleted inserted replaced
496:fa43fed1084c 497:5b7a0d9838d2
    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 	{\