Added XEASSERTSTRUCTSIZE macro.
This commit is contained in:
parent
237ab5551f
commit
d385bc6a10
|
@ -69,5 +69,6 @@
|
|||
#define XESTATICASSERT(expr, message) XESTATICASSERT2(expr, __LINE__)
|
||||
#endif // MSVC
|
||||
|
||||
#define XEASSERTSTRUCTSIZE(target, size) XESTATICASSERT(sizeof(target) == size, "bad definition for " ## target ## ": must be " ## size ## " bytes")
|
||||
|
||||
#endif // XENIA_ASSERT_H_
|
||||
|
|
Loading…
Reference in New Issue