1 | #import "InternalDefiner.h" |
---|---|
2 | |
3 | @interface InternalDefiner () { |
4 | uintptr_t bar; |
5 | } |
6 | |
7 | @end |
8 | |
9 | @implementation InternalDefiner |
10 | |
11 | -(id)init |
12 | { |
13 | if (self = [super init]) |
14 | { |
15 | foo = 2; |
16 | bar = 3; |
17 | } |
18 | return self; |
19 | } |
20 | |
21 | -(id)initWithFoo:(uintptr_t)f andBar:(uintptr_t)b |
22 | { |
23 | if (self = [super init]) |
24 | { |
25 | foo = f; |
26 | bar = b; |
27 | } |
28 | return self; |
29 | } |
30 | |
31 | @end |
32 |