mirror of
https://git.suyu.dev/suyu/dynarmic
synced 2024-11-21 14:29:03 -07:00
mcl: Add UNIMPLEMENTED macro
This commit is contained in:
parent
208acb3026
commit
e7bafeae24
1 changed files with 1 additions and 0 deletions
1
externals/mcl/include/mcl/assert.hpp
vendored
1
externals/mcl/include/mcl/assert.hpp
vendored
|
@ -24,6 +24,7 @@ template<typename... Ts>
|
||||||
} // namespace mcl::detail
|
} // namespace mcl::detail
|
||||||
|
|
||||||
#define UNREACHABLE() ASSERT_FALSE("Unreachable code!")
|
#define UNREACHABLE() ASSERT_FALSE("Unreachable code!")
|
||||||
|
#define UNIMPLEMENTED() ASSERT_FALSE("Unimplemented at {}:{} ", __FILE__, __LINE__);
|
||||||
|
|
||||||
#define ASSERT(expr) \
|
#define ASSERT(expr) \
|
||||||
[&] { \
|
[&] { \
|
||||||
|
|
Loading…
Reference in a new issue