language-c icon indicating copy to clipboard operation
language-c copied to clipboard

Add support for Clang blocks

Open iphydf opened this issue 9 years ago • 1 comments

"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).

iphydf avatar Sep 11 '16 10:09 iphydf

See http://clang.llvm.org/docs/BlockLanguageSpec.html.

iphydf avatar Sep 11 '16 10:09 iphydf