aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.h
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2016-02-10 20:50:19 -0700
committerJon Ashburn <jon@lunarg.com>2016-02-14 09:19:44 -0700
commit0bb7b94cbee55af6acbb51996e29492fcb74c9ef (patch)
tree6051c5a30ae0c87b7fc9ef07d37c4055c61da1f0 /loader/loader.h
parentac7f5657bdc234f13e7ac9104d71d3542207bc50 (diff)
downloadusermoji-0bb7b94cbee55af6acbb51996e29492fcb74c9ef.tar.xz
loader: rerun clang-format on some files
Diffstat (limited to 'loader/loader.h')
-rw-r--r--loader/loader.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/loader/loader.h b/loader/loader.h
index b333f524..72639eb0 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -67,23 +67,22 @@ enum layer_type {
0xc, // both instance and device layer, bitwise
};
-
typedef enum VkStringErrorFlagBits {
- VK_STRING_ERROR_NONE = 0x00000000,
- VK_STRING_ERROR_LENGTH = 0x00000001,
- VK_STRING_ERROR_BAD_DATA = 0x00000002,
+ VK_STRING_ERROR_NONE = 0x00000000,
+ VK_STRING_ERROR_LENGTH = 0x00000001,
+ VK_STRING_ERROR_BAD_DATA = 0x00000002,
} VkStringErrorFlagBits;
typedef VkFlags VkStringErrorFlags;
-static const int MaxLoaderStringLength = 256;
-static const char UTF8_ONE_BYTE_CODE = 0xC0;
-static const char UTF8_ONE_BYTE_MASK = 0xE0;
-static const char UTF8_TWO_BYTE_CODE = 0xE0;
-static const char UTF8_TWO_BYTE_MASK = 0xF0;
-static const char UTF8_THREE_BYTE_CODE = 0xF0;
-static const char UTF8_THREE_BYTE_MASK = 0xF8;
-static const char UTF8_DATA_BYTE_CODE = 0x80;
-static const char UTF8_DATA_BYTE_MASK = 0xC0;
+static const int MaxLoaderStringLength = 256;
+static const char UTF8_ONE_BYTE_CODE = 0xC0;
+static const char UTF8_ONE_BYTE_MASK = 0xE0;
+static const char UTF8_TWO_BYTE_CODE = 0xE0;
+static const char UTF8_TWO_BYTE_MASK = 0xF0;
+static const char UTF8_THREE_BYTE_CODE = 0xF0;
+static const char UTF8_THREE_BYTE_MASK = 0xF8;
+static const char UTF8_DATA_BYTE_CODE = 0x80;
+static const char UTF8_DATA_BYTE_MASK = 0xC0;
// form of all dynamic lists/arrays
// only the list element should be changed
@@ -523,6 +522,7 @@ void *loader_tls_heap_alloc(size_t size);
void loader_tls_heap_free(void *pMemory);
-VkStringErrorFlags vk_string_validate(const int max_length, const char *char_array);
+VkStringErrorFlags vk_string_validate(const int max_length,
+ const char *char_array);
#endif /* LOADER_H */