1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00
dxvk/src/util/util_enum.h

8 lines
150 B
C
Raw Normal View History

2017-10-11 00:27:33 +02:00
#pragma once
#define ENUM_NAME(name) \
case name: return os << #name
2017-10-11 00:27:33 +02:00
#define ENUM_DEFAULT(name) \
default: return os << static_cast<int32_t>(e)