mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
C++: Hide internal macros from documentation
That's SIXTYFPS_GET_ITEM_VTABLE, SIXTYFPS_DLL_IMPORT and SIXTYFPS_QT_INTEGRATION
This commit is contained in:
parent
4c33a8f70b
commit
2e4abc61e0
3 changed files with 23 additions and 15 deletions
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue