language-c
language-c copied to clipboard
Add support for Clang blocks
"Blocks" are closures and are supported by Clang and used in OSX system headers. It would be fairly straightforward to add: they are simple function pointers but instead of *, they use ^ for the pointer symbol. E.g. void (^)(int, char).
See http://clang.llvm.org/docs/BlockLanguageSpec.html.