mirror of
https://github.com/apple/swift.git
synced 2026-01-02 22:53:12 +01:00
...depending on where the typedef is defined. Removing this inconsistency is tracked by rdar://problem/20347922. rdar://problem/22278364 Swift SVN r31325
19 lines
566 B
Objective-C
19 lines
566 B
Objective-C
@import Foundation;
|
|
|
|
#define testInMacro NSUInteger testFunctionInsideMacro(NSUInteger I);
|
|
|
|
typedef NSUInteger NSUIntegerAlias;
|
|
|
|
@interface NSUIntTest : NSObject <NSFastEnumeration>
|
|
@property NSUInteger IntProp;
|
|
@property NSUIntegerAlias TypedefProp;
|
|
- (NSUInteger)myCustomMethodThatOperatesOnNSUIntegers: (NSUInteger)key;
|
|
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len;
|
|
@end
|
|
|
|
NSUInteger testFunction(NSUInteger input);
|
|
|
|
testInMacro
|
|
|
|
NSUInteger testFunctionWithPointerParam(NSUInteger *input);
|