Please review the CERT Secure coding standard talking about macros and inline functions in terms of security and bug arousing , i do not encourage using function-like macros , because :
- Less Profiling
- Less Traceable
- Harder to debug
- Could Lead to severe Bugs