From 0bb7b94cbee55af6acbb51996e29492fcb74c9ef Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Wed, 10 Feb 2016 20:50:19 -0700 Subject: loader: rerun clang-format on some files --- loader/loader.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'loader/loader.h') 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 */ -- cgit v1.2.3