Compare commits
2 commits
91a4f55937
...
3ed52f2ae8
Author | SHA1 | Date | |
---|---|---|---|
3ed52f2ae8 | |||
36e9666292 |
2 changed files with 7 additions and 0 deletions
|
@ -23,6 +23,12 @@ template<typename... Ts>
|
||||||
} \
|
} \
|
||||||
}())
|
}())
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef ASSERT_FALSE
|
||||||
|
#define ASSERT_FALSE(...) \
|
||||||
|
([&]() { \
|
||||||
|
assert_terminate("false", __VA_ARGS__); \
|
||||||
|
}())
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef ASSERT
|
#ifndef ASSERT
|
||||||
#define ASSERT(_a_) ASSERT_MSG(_a_, "")
|
#define ASSERT(_a_) ASSERT_MSG(_a_, "")
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
#include <cstdlib>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace Dynarmic::Common {
|
namespace Dynarmic::Common {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue