xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/Inputs/literal-support.h (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc #ifndef OBJC_LITERAL_SUPPORT_H
2*f4a2713aSLionel Sambuc #define OBJC_LITERAL_SUPPORT_H
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc typedef unsigned char BOOL;
5*f4a2713aSLionel Sambuc 
6*f4a2713aSLionel Sambuc @interface NSNumber @end
7*f4a2713aSLionel Sambuc 
8*f4a2713aSLionel Sambuc @interface NSNumber (NSNumberCreation)
9*f4a2713aSLionel Sambuc + (NSNumber *)numberWithChar:(char)value;
10*f4a2713aSLionel Sambuc + (NSNumber *)numberWithUnsignedChar:(unsigned char)value;
11*f4a2713aSLionel Sambuc + (NSNumber *)numberWithShort:(short)value;
12*f4a2713aSLionel Sambuc + (NSNumber *)numberWithUnsignedShort:(unsigned short)value;
13*f4a2713aSLionel Sambuc + (NSNumber *)numberWithInt:(int)value;
14*f4a2713aSLionel Sambuc + (NSNumber *)numberWithUnsignedInt:(unsigned int)value;
15*f4a2713aSLionel Sambuc + (NSNumber *)numberWithLong:(long)value;
16*f4a2713aSLionel Sambuc + (NSNumber *)numberWithUnsignedLong:(unsigned long)value;
17*f4a2713aSLionel Sambuc + (NSNumber *)numberWithLongLong:(long long)value;
18*f4a2713aSLionel Sambuc + (NSNumber *)numberWithUnsignedLongLong:(unsigned long long)value;
19*f4a2713aSLionel Sambuc + (NSNumber *)numberWithFloat:(float)value;
20*f4a2713aSLionel Sambuc + (NSNumber *)numberWithDouble:(double)value;
21*f4a2713aSLionel Sambuc + (NSNumber *)numberWithBool:(BOOL)value;
22*f4a2713aSLionel Sambuc @end
23*f4a2713aSLionel Sambuc 
24*f4a2713aSLionel Sambuc @interface NSArray
25*f4a2713aSLionel Sambuc @end
26*f4a2713aSLionel Sambuc 
27*f4a2713aSLionel Sambuc @interface NSArray (NSArrayCreation)
28*f4a2713aSLionel Sambuc + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt;
29*f4a2713aSLionel Sambuc @end
30*f4a2713aSLionel Sambuc 
31*f4a2713aSLionel Sambuc @interface NSDictionary
32*f4a2713aSLionel Sambuc + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt;
33*f4a2713aSLionel Sambuc @end
34*f4a2713aSLionel Sambuc 
35*f4a2713aSLionel Sambuc #endif // OBJC_LITERAL_SUPPORT_H
36