Hacker News new | ask | show | jobs
by varjag 696 days ago
How well does it handle preprocessor macros in APIs?
1 comments

I have used it successfully against header files for Win32 COM interfaces generated from IDL which include major parts of the infamous "windows.h". Almost every type is a macro.

This is an extremely well-understood space.

Just open the docs and do it.

Not types, functions. Where the macro is essentially a forward declaration but the implementation is deep inside the code and is not exposed via headers.