Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to define a macro that can be used to log function calls in C?
- #define NAME(x) x
- ...
- m_strTemp.Format("x key:0x%X", NAME(a_function)(a_param));
- #define NAME(x) (TRACE(#x), x)
Advertisement
Add Comment
Please, Sign In to add comment