Show HN: Automatic cleanup in C using with-statements
github.com
github.com
https://www.reddit.com/r/embedded/comments/gt8vsc/using_raii...
Reminds of the old adage - You never code in plain C, you need to first #define some macros and then you can proceed with metaprogramming
You think those GPIO registers are going to encode themselves?