Skip to content

Instantly share code, notes, and snippets.

@marvinborner
Created January 5, 2022 19:12
Show Gist options
  • Save marvinborner/80329c2e5248724ab162bdafb0ba73de to your computer and use it in GitHub Desktop.
Save marvinborner/80329c2e5248724ab162bdafb0ba73de to your computer and use it in GitHub Desktop.
Lambda function macro in C
#define lambda(ret, args, body) __extension__({ ret anon args body anon; })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment