Hacker News new | ask | show | jobs
by masternight 50 days ago
IMO there's really not a reason to use macros in C these days.

Declare your function "static inline" in the header file and the compiler will usually inline it with -O2 level optimisations.