How can I use commercial at sign in Objective-C macro? -
how can use commercial @ sign in objective-c macro?
i know not recommended, seems possible somehow? since libextobjc provides @weakify, @strongify, etc...
libextobjc uses preprocessor trickery make think it's @command.
#define weakify(...) \ try {} @finally {} \ metamacro_foreach_cxt(ext_weakify_,, __weak, __va_args__) note missing @ on try. @weakify expands @try {} @finally {} [injected code].
you use same trick, suggest stick plain macros.
Comments
Post a Comment