mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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);
|