|
TR_datastructures 0.1.0
A generic C data structures library
|
Internal macros for raw compiler visibility attributes. More...
Macros | |
| #define | TR_EXPORT_SYMBOL |
| #define | TR_IMPORT_SYMBOL |
| #define | TR_LOCAL_SYMBOL |
Internal macros for raw compiler visibility attributes.
These are internal building blocks for TR_API and TR_INTERNAL. Do not use these directly in consuming code — use TR_API instead.
| Macro | MSVC | GCC/Clang | Unknown |
|---|---|---|---|
| TR_EXPORT_SYMBOL | __declspec(dllexport) | attribute((visibility("default"))) | (empty) |
| TR_IMPORT_SYMBOL | __declspec(dllimport) | attribute((visibility("default"))) |
(empty) | | TR_LOCAL_SYMBOL | (not supported) | attribute((visibility("hidden"))) | (empty) |
| #define TR_EXPORT_SYMBOL |
| #define TR_IMPORT_SYMBOL |
| #define TR_LOCAL_SYMBOL |