diff --git a/ostream.hpp b/ostream.hpp index db5cf15..fff9348 100644 --- a/ostream.hpp +++ b/ostream.hpp @@ -25,14 +25,22 @@ #include + +/////////////////////////////////////////////////////////////////////////////// std::ostream& operator<< (std::ostream&, VkPhysicalDeviceType); std::ostream& operator<< (std::ostream&, const VkPhysicalDeviceLimits&); std::ostream& operator<< (std::ostream&, const VkPhysicalDeviceProperties&); + +/////////////////////////////////////////////////////////////////////////////// namespace cruft::vk { -#define CRUFT_VK_OSTREAM(T) std::ostream& operator<< (std::ostream&, const cruft::vk::T&); -VK_TYPE_MAP (CRUFT_VK_OSTREAM) -#undef CRUFT_VK_OSTREAM + #define CRUFT_VK_OSTREAM(T) \ + std::ostream& \ + operator<< (std::ostream&, const cruft::vk::T&); + + VK_TYPE_MAP (CRUFT_VK_OSTREAM) + + #undef CRUFT_VK_OSTREAM } #endif