Macros to support visibility of external symbols. More...
Go to the source code of this file.
Macros | |
#define | UPnPsdk_VIS |
Prefix to export symbol for external use. | |
#define | UPnPsdk_LOCAL |
Prefix to NOT export symbol of a local method for external use. | |
#define | UPnPsdk_EXTERN UPnPsdk_VIS extern |
Prefix for a portable 'extern' declaration. | |
Macros to support visibility of external symbols.
To help finding errors you can list all exported symbols
on Linux with:
nm -C -D <library>,
on Microsoft Windows with e.g.:
dumpbin.exe /EXPORTS .\build\lib\Release\UPnPsdk_shared.lib
Reference: https://gcc.gnu.org/wiki/Visibility
Definition in file visibility.hpp.
#define UPnPsdk_VIS |
Prefix to export symbol for external use.
Definition at line 61 of file visibility.hpp.
#define UPnPsdk_LOCAL |
Prefix to NOT export symbol of a local method for external use.
Definition at line 62 of file visibility.hpp.
#define UPnPsdk_EXTERN UPnPsdk_VIS extern |
Prefix for a portable 'extern' declaration.
Definition at line 68 of file visibility.hpp.