C++: Hide internal macros from documentation

That's SIXTYFPS_GET_ITEM_VTABLE, SIXTYFPS_DLL_IMPORT and
SIXTYFPS_QT_INTEGRATION
This commit is contained in:
Simon Hausmann 2021-06-22 08:27:08 +02:00
parent 4c33a8f70b
commit 2e4abc61e0
3 changed files with 23 additions and 15 deletions

View file

@ -17,14 +17,16 @@ LICENSE END */
# define SIXTYFPS_TARGET_64
#endif
#if defined(_MSC_VER)
# define SIXTYFPS_DLL_IMPORT __declspec(dllimport)
#elif defined(__GNUC__)
# if defined(_WIN32) || defined(_WIN64)
#if !defined(DOXYGEN)
# if defined(_MSC_VER)
# define SIXTYFPS_DLL_IMPORT __declspec(dllimport)
# elif defined(__GNUC__)
# if defined(_WIN32) || defined(_WIN64)
# define SIXTYFPS_DLL_IMPORT __declspec(dllimport)
# else
# define SIXTYFPS_DLL_IMPORT __attribute__((visibility("default")))
# endif
# else
# define SIXTYFPS_DLL_IMPORT __attribute__((visibility("default")))
# define SIXTYFPS_DLL_IMPORT
# endif
#else
# define SIXTYFPS_DLL_IMPORT
#endif
#endif // !defined(DOXYGEN)