blob: 70d0dc7bf83293417f79aca0a6998bcbf36bf410 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
@interface MyClass
+(void)meth;
@end
#define MACRO2(x) (x)
#define MACRO(x) MACRO2((x))
void test() {
MACRO([MyClass meth]);
}
#define INVOKE(METHOD, CLASS) [CLASS METHOD]
void test2() {
INVOKE(meth, MyClass);
}
|