diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-04-01 18:59:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-01 15:59:24 -0700 |
| commit | 9475b11045089c9bc9773b16f7eb84f843db70c4 (patch) | |
| tree | f2855e1283a3811fd771d646f6e2532ca9cb5e21 /source/core/slang-compression-system.h | |
| parent | 2a32fae2ca766862ad76973ab37605edf9ec0faa (diff) | |
Associating GUID (or UUID) with types (#1776)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Add mechanism to embed guid inside of type.
Diffstat (limited to 'source/core/slang-compression-system.h')
| -rw-r--r-- | source/core/slang-compression-system.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/core/slang-compression-system.h b/source/core/slang-compression-system.h index f9fe9dfe1..ecc5b1be9 100644 --- a/source/core/slang-compression-system.h +++ b/source/core/slang-compression-system.h @@ -29,7 +29,7 @@ enum class CompressionSystemType class ICompressionSystem : public ISlangUnknown { -public: + SLANG_COM_INTERFACE(0xcc935840, 0xe059, 0x4bb8, { 0xa2, 0x2d, 0x92, 0x7b, 0x3c, 0x73, 0x8f, 0x85 }) /** Get the compression system type @return The compression system type */ @@ -51,8 +51,6 @@ public: virtual SLANG_NO_THROW SlangResult SLANG_MCALL decompress(const void* compressed, size_t compressedSizeInBytes, size_t decompressedSizeInBytes, void* outDecompressed) = 0; }; -#define SLANG_UUID_ICompressionSystem { 0xcc935840, 0xe059, 0x4bb8, { 0xa2, 0x2d, 0x92, 0x7b, 0x3c, 0x73, 0x8f, 0x85 } }; - } #endif |
