Proof of concept for generators in C with macros