build: rename MAP as MAP0

This commit is contained in:
Danny Robson 2017-09-12 14:23:22 +10:00
parent 1b293d9a4e
commit 93b3fdedd8
2 changed files with 46 additions and 46 deletions

View File

@ -26,7 +26,7 @@ using cruft::vk::error_code;
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#define VK_RESULT_MAP(FUNC)\ #define VK_RESULT_MAP(FUNC)\
MAP(FUNC, \ MAP0(FUNC, \
VK_SUCCESS, \ VK_SUCCESS, \
VK_NOT_READY, \ VK_NOT_READY, \
VK_TIMEOUT, \ VK_TIMEOUT, \

View File

@ -55,15 +55,15 @@ namespace cruft::vk {
template <VkResult> class error_code; template <VkResult> class error_code;
#define VK_ENUMERATED_TYPE_MAP(FUNC) \ #define VK_ENUMERATED_TYPE_MAP(FUNC) \
MAP(FUNC, \ MAP0(FUNC, \
physical_device) physical_device)
#define VK_DESCENDANT_TYPE_MAP(FUNC) \ #define VK_DESCENDANT_TYPE_MAP(FUNC) \
MAP(FUNC, \ MAP0(FUNC, \
device) device)
#define VK_OWNED_TYPE_MAP(FUNC) \ #define VK_OWNED_TYPE_MAP(FUNC) \
MAP(FUNC, \ MAP0(FUNC, \
buffer, \ buffer, \
command_pool, \ command_pool, \
device_memory, \ device_memory, \
@ -78,7 +78,7 @@ namespace cruft::vk {
swapchain) swapchain)
#define VK_TYPE_MAP(FUNC) \ #define VK_TYPE_MAP(FUNC) \
MAP(FUNC,instance) \ MAP0(FUNC,instance) \
VK_ENUMERATED_TYPE_MAP(FUNC) \ VK_ENUMERATED_TYPE_MAP(FUNC) \
VK_DESCENDANT_TYPE_MAP(FUNC) \ VK_DESCENDANT_TYPE_MAP(FUNC) \
VK_OWNED_TYPE_MAP(FUNC) VK_OWNED_TYPE_MAP(FUNC)