this repo has no description
1#include <stdio.h>
2#import <Foundation/NSObject.h>
3
4@interface helloclass : NSObject {
5}
6
7- (void)doHello:(int)a :(int)b :(int)c :(int)d :(int)e :(int)f :(int)g;
8@end
9
10@implementation helloclass
11- (void)doHello:(int)a :(int)b :(int)c :(int)d :(int)e :(int)f :(int)g
12{
13 printf("Hello world, %d %d %d %d %d %d %d\n", a, b, c, d, e, f, g);
14}
15@end
16
17void run()
18{
19 helloclass* c = [helloclass alloc];
20 puts("After alloc");
21 [c init];
22 puts("After init");
23 [c doHello:1:2:3:4:5:6:7];
24 puts("After hello");
25 [c release];
26 puts("After release");
27}
28
29int main()
30{
31 run();
32 run();
33 return 0;
34}
35
36