diff options
Diffstat (limited to 'macosx/ARCBridge.h')
| -rw-r--r-- | macosx/ARCBridge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/ARCBridge.h b/macosx/ARCBridge.h index 3365a467..5a747bdd 100644 --- a/macosx/ARCBridge.h +++ b/macosx/ARCBridge.h @@ -17,6 +17,7 @@ #define AUTORELEASEOBJ(obj) obj #define AUTORELEASEOBJNORETURN(obj) #define BRIDGE(toType, obj) (__bridge toType)(obj) +#define __arcweak __weak #else @@ -26,6 +27,7 @@ #define AUTORELEASEOBJ(obj) [obj autorelease] #define AUTORELEASEOBJNORETURN(obj) [obj autorelease] #define BRIDGE(toType, obj) (toType)obj +#define __arcweak #endif |
