aboutsummaryrefslogtreecommitdiff
path: root/test/ARCMT/Common.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/ARCMT/Common.h')
-rw-r--r--test/ARCMT/Common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ARCMT/Common.h b/test/ARCMT/Common.h
index c57f3e75e4..f10ae0d2a7 100644
--- a/test/ARCMT/Common.h
+++ b/test/ARCMT/Common.h
@@ -4,6 +4,8 @@
#define NS_AUTOMATED_REFCOUNT_UNAVAILABLE
#endif
+#define nil ((void*) 0)
+
typedef int BOOL;
typedef unsigned NSUInteger;
typedef int int32_t;
@@ -11,8 +13,14 @@ typedef unsigned char uint8_t;
typedef int32_t UChar32;
typedef unsigned char UChar;
+typedef struct _NSZone NSZone;
+
+typedef const void * CFTypeRef;
+CFTypeRef CFRetain(CFTypeRef cf);
+
@protocol NSObject
- (BOOL)isEqual:(id)object;
+- (NSZone *)zone NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
- (id)retain NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
- (NSUInteger)retainCount NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
- (oneway void)release NS_AUTOMATED_REFCOUNT_UNAVAILABLE;