I have the source code of a library that has a lot of weird IF, ELSE, FOR, etc. macros for all common C-keywords, and not for using ordinary if, else, for, while keywords. These macros are defined as follows:
where the increment_if () function is defined as follows:
static __inline void increment_if( void) {
I really donβt understand what is the purpose of such macros? This library is intended for a real-time application, and I believe that using such macros should slow down the application.
source share