Go to the source code of this file.
◆ CPP_UTILITIES_GENERIC_LIB_EXPORT
#define CPP_UTILITIES_GENERIC_LIB_EXPORT __attribute__((visibility("default"))) |
Marks a symbol for shared library export.
Definition at line 82 of file global.h.
◆ CPP_UTILITIES_GENERIC_LIB_HIDDEN
#define CPP_UTILITIES_GENERIC_LIB_HIDDEN __attribute__((visibility("hidden"))) |
Hidden visibility indicates that the symbol will not be placed into the dynamic symbol table, so no other module (executable or shared library) can reference it directly.
Definition at line 84 of file global.h.
◆ CPP_UTILITIES_GENERIC_LIB_IMPORT
#define CPP_UTILITIES_GENERIC_LIB_IMPORT __attribute__((visibility("default"))) |
Declares a symbol to be an import from a shared library.
Definition at line 83 of file global.h.
◆ CPP_UTILITIES_IF_DEBUG_BUILD
#define CPP_UTILITIES_IF_DEBUG_BUILD |
( |
| x | ) |
|
Wraps debug-only lines conveniently.
Definition at line 118 of file global.h.
◆ CPP_UTILITIES_MAIN_EXPORT
#define CPP_UTILITIES_MAIN_EXPORT |
Exports the main() functions on platforms where this is needed.
- See also
- See qtbase commit 29b17fa335388c9b93f70c29b2398cf2fee65785 (where this is solved with the sledgehammer method of setting the default visibility).
Definition at line 100 of file global.h.
◆ CPP_UTILITIES_UNUSED
#define CPP_UTILITIES_UNUSED |
( |
| x | ) |
|
Value:
Prevents warnings about unused variables.
Definition at line 108 of file global.h.