[cfe-dev] Using blocks with standard C?

Jacob Carlborg doob at me.com
Fri Jul 13 00:07:09 PDT 2012


On 2012-07-12 22:22, John McCall wrote:

> The block layout is documented here:
>    http://clang.llvm.org/docs/Block-ABI-Apple.txt
>
> Basically, you would want to fill one of those out on the stack and pass
> the address to the routine you're calling.

Perfect, thanks.

-- 
/Jacob Carlborg






More information about the cfe-dev mailing list