Follow

Emulating defer in C using GNU extensions:

0x0.st/zJvV.c

I don’t think it’s a new idea but I haven’t seen it in the wild yet. It works with at least GCC and Clang.

Sign in to participate in the conversation
nazrin.moe

Tōhō, free software and a cute mouse.