2 ms·
> There's surely no excuse for this The "excuse" is greppability since static has three completely different meanings in C and the desire to clearly denote glo
by keldaris 6y ago
> There's surely no excuse for this
The "excuse" is greppability since static has three completely different meanings in C and the desire to clearly denote global variables is fairly common. The same reasoning goes for the cast define as well.
Whether you find value in these small abuses of the preprocessor depends on your coding habits, but I don't really see much reason to criticize them. If the author finds them helpful, what's the harm? There isn't much room for confusion and they're not forced on the users of the library.