Final round of symbol visibility fixes
This change adds GLSLANG_EXPORT in a couple more places, as well as adding a new symbol visibility annotation GLSLANG_EXPORT_FOR_TESTS which is defined the same as GLSLANG_EXPORT but documents the intention that the symbols marked with it are only meant to be used by glslang's test suite and do not form part of the public API and are thus not subject to ABI stability guarantees.
This commit is contained in:
parent
d7a3dc619e
commit
ec7e23f458
5 changed files with 12 additions and 6 deletions
|
|
@ -43,7 +43,7 @@ namespace spv {
|
|||
|
||||
// A class for holding all SPIR-V build status messages, including
|
||||
// missing/TBD functionalities, warnings, and errors.
|
||||
class SpvBuildLogger {
|
||||
class GLSLANG_EXPORT SpvBuildLogger {
|
||||
public:
|
||||
SpvBuildLogger() {}
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ public:
|
|||
|
||||
// Returns all messages accumulated in the order of:
|
||||
// TBD functionalities, missing functionalities, warnings, errors.
|
||||
GLSLANG_EXPORT std::string getAllMessages() const;
|
||||
std::string getAllMessages() const;
|
||||
|
||||
private:
|
||||
SpvBuildLogger(const SpvBuildLogger&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue