InlineObjCInstanceMethod.h revision 3f558af01643787d209a133215b0abec81b5fe30
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)init; 15-(id)autorelease; 16-(id)copy; 17- (Class)class; 18-(id)retain; 19@end 20 21@interface PublicClass : NSObject 22- (int)getZeroPublic; 23@end 24 25@interface PublicSubClass : PublicClass 26@end 27