annotate-macro-args.h 216 Bytes Raw Blame History Permalink 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); }