[cfe-dev] Using blocks with standard C?

Jacob Carlborg doob at me.com
Thu Jul 12 12:26:45 PDT 2012


I don't know if this is the right place to ask, but anyway. I'm using 
the D programming language, which is ABI compatible with standard C. It 
doesn't not support blocks. My question is then, is it possible to 
somehow call a C function which accepts a block using some kind of 
struct and/or functions from the runtime?

This is more a question of it's possible than something I must have.

-- 
/Jacob Carlborg





More information about the cfe-dev mailing list