Added XEASSERTSTRUCTSIZE macro.

This commit is contained in:
Rick Gibbed 2013-05-26 02:36:07 -07:00
parent 237ab5551f
commit d385bc6a10
1 changed files with 1 additions and 0 deletions

View File

@ -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_