Anonymous functions using GCC statement expressions

后端 未结 4 1725
感情败类
感情败类 2020-11-29 20:07

This question isn\'t terribly specific; it\'s really for my own C enrichment and I hope others can find it useful as well.

Disclaimer: I know many w

4条回答
  •  Happy的楠姐
    2020-11-29 21:07

    Partial answer: It isn't int(*X) you are interested in. It is int (*X)(y,z). That is a function pointer to the function called X which takes (y,z) and returns int.

    For debugging, this will be really hard. Most debuggers can't trace through a macro. You would most likely have to debug the assembly.

提交回复
热议问题