diff options
Diffstat (limited to 'source/slang/slang-serialize-types.cpp')
| -rw-r--r-- | source/slang/slang-serialize-types.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/slang/slang-serialize-types.cpp b/source/slang/slang-serialize-types.cpp index a091a2850..cab108b1a 100644 --- a/source/slang/slang-serialize-types.cpp +++ b/source/slang/slang-serialize-types.cpp @@ -208,9 +208,11 @@ struct ByteReader // !!!!!!!!!!!!!!!!!!!!!!!!!!!! SerialParseUtil !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +// clang-format off #define SLANG_SERIAL_BINARY_COMPRESSION_TYPE(x) \ x(None, none) \ x(VariableByteLite, lite) +// clang-format on /* static */SlangResult SerialParseUtil::parseCompressionType(const UnownedStringSlice& text, SerialCompressionType& outType) { @@ -220,7 +222,10 @@ struct ByteReader SerialCompressionType type; }; -#define SLANG_SERIAL_BINARY_PAIR(type, name) { UnownedStringSlice::fromLiteral(#name), SerialCompressionType::type}, +// clang-format off +#define SLANG_SERIAL_BINARY_PAIR(type, name) \ + {UnownedStringSlice::fromLiteral(#name), SerialCompressionType::type}, +// clang-format on static const Pair s_pairs[] = { |
