nswrap/examples/simple/ClassOne/simple.h
Greg 0e89d2c29a Do not memoize type parser as it causes bugs with typedefs,
'instancetype' etc. Clean up typedefs and type parameters as
soon as Types are created.
2019-04-30 06:59:05 -04:00

29 lines
434 B
Objective-C

#import <Foundation/Foundation.h>
struct stru {int a,b;};
@interface ClassOne : NSObject
{
int i1;
int *p1;
int a1[2];
int (*f)();
}
- (instancetype) init;
- (int) geti1;
- (int *) getp1;
- (int (*)()) getf1;
- (int) hi1:(struct stru)in;
- (int) hi2:(struct stru*)in;
- (struct stru) nstru1;
- (struct stru*) nstru2;
- (void) hi:(id)in;
- (void) hi3:(id)in;
@end
@interface ClassTwo : ClassOne
{ }
- (instancetype) init;
@end