News for hackers. Stuff that matters.
[deleted]
Re:Lambdas in C by ori_b on Friday July 01, 2011 @11:03AM (#2718584)
You're not passing a compound statement expression as a function pointer. You are passing the result of the evaluation of that expression --which is a function pointer -- as a function pointer.
Re:Lambdas in C by tjr on Friday July 01, 2011 @11:05AM (#2718593)
Oops, sorry, I just deleted my comment because I thought that wingo's comment covered my thoughts and more. For posterity, I had previously written:

I do not find it obvious from that documentation that you can pass a compound statement expression as a function pointer.

And touche', I just glanced at the contents of the macro before replying.