2019-04-26 22:44:30 -04:00
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
struct stru {int a,b;};
|
|
|
|
|
|
|
|
@interface ClassOne : NSObject
|
|
|
|
{
|
|
|
|
int i1;
|
|
|
|
int *p1;
|
|
|
|
int a1[2];
|
|
|
|
int (*f)();
|
|
|
|
}
|
|
|
|
|
|
|
|
- (ClassOne*) init;
|
|
|
|
- (int) geti1;
|
|
|
|
- (int *) getp1;
|
|
|
|
- (int (*)()) getf1;
|
|
|
|
- (int) hi1:(struct stru)in;
|
|
|
|
- (int) hi2:(struct stru*)in;
|
|
|
|
- (struct stru) nstru1;
|
|
|
|
- (struct stru*) nstru2;
|
2019-04-29 11:46:48 -04:00
|
|
|
- (void) hi:(id)in;
|
|
|
|
- (void) hi3:(id)in;
|
2019-04-26 22:44:30 -04:00
|
|
|
@end
|
|
|
|
|
2019-04-29 11:46:48 -04:00
|
|
|
@interface ClassTwo : ClassOne
|
|
|
|
{ }
|
|
|
|
- (ClassTwo*) init;
|
|
|
|
@end
|