yes, I use C macros to generate code