Moving the kernel to modern C
Moving the kernel to modern C
Posted Feb 27, 2022 16:24 UTC (Sun) by mina86 (guest, #68442)In reply to: Moving the kernel to modern C by 4m1rk
Parent article: Moving the kernel to modern C
> Do C macros allow passing a code block?
Yes. You can pass pretty much whatever you want so long as parenthesise match and there is no comma outside of parenthesise.
Posted Mar 9, 2022 23:56 UTC (Wed)
by bartoc (guest, #124262)
[Link]
Moving the kernel to modern C
The comma is a bit of a huge pita if you're passing a whole loop body.