3 ms·
Where I once worked, the -> operator was forbidden to appear in the C code we wrote. In place of w->x or f->title you had to write stuff like WIN(w,x) or FRM(f
by bayareaguy 17y ago
Where I once worked, the -> operator was forbidden to appear in the C code we wrote. In place of w->x or f->title you had to write stuff like WIN(w,x) or FRM(f,title). WIN, FRM and the like were just C preprocessor macros. This was all to allow for some kind of weird future structure compatibility manageable by tricky macro redefinitions but I was never quite convinced.