mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-10-18 11:10:05 +00:00
dadb3012d5
In contrast to the C API, the C++ API did not have symbol visibility specified. An application using the C++ API would fail to link against a shared SPIRV-Tools library built with `-fvisibility=hidden`. Mark all classes in the public `.hpp` files with `SPIRV_TOOLS_EXPORT`. Add `SPIRV_TOOLS_LOCAL` to hide nested structs containing implementation details. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com> |
||
---|---|---|
.. | ||
instrument.hpp | ||
libspirv.h | ||
libspirv.hpp | ||
linker.hpp | ||
linter.hpp | ||
optimizer.hpp |