InlineObjCInstanceMethod.h revision 54918ba02ba900c0e0bb4fd3d749b6b1ac4e50a9
1
2// Define a public header for the ObjC methods that are "visible" externally
3// and, thus, could be sub-classed. We should explore the path on which these
4// are sub-classed with unknown class by not inlining them.
5
6typedef signed char BOOL;
7typedef struct objc_class *Class;
8typedef struct objc_object {
9    Class isa;
10} *id;
11@protocol NSObject  - (BOOL)isEqual:(id)object; @end
12@interface NSObject <NSObject> {}
13+(id)alloc;
14+(id)new;
15-(id)init;
16-(id)autorelease;
17-(id)copy;
18- (Class)class;
19-(id)retain;
20@end
21
22@interface PublicClass : NSObject
23- (int)getZeroPublic;
24@end
25
26@interface PublicSubClass : PublicClass
27@end
28
29@interface PublicParent : NSObject
30- (int)getZeroOverridden;
31@end
32
33@interface PublicSubClass2 : PublicParent
34- (int) getZeroOverridden;
35@end
36
37