sead
Loading...
Searching...
No Matches
seadAssert.h File Reference

Go to the source code of this file.

Namespaces

namespace  sead
namespace  sead::system

Macros

#define SEAD_ASSERT(condition)
#define SEAD_ASSERT_MSG(condition, format, ...)

Functions

void sead::system::DebugBreak ()
void sead::system::Halt ()
void sead::system::HaltWithDetail (const char *pos, s32 line, const char *format,...)
void sead::system::HaltWithDetailNoFormat (const char *pos, s32 line, const char *str)

Macro Definition Documentation

◆ SEAD_ASSERT

#define SEAD_ASSERT ( condition)
Value:
do \
{ \
if (false) \
{ \
static_cast<void>(condition); \
} \
} while (0)

◆ SEAD_ASSERT_MSG

#define SEAD_ASSERT_MSG ( condition,
format,
... )
Value:
do \
{ \
if (false) \
{ \
static_cast<void>(condition); \
sead::system::HaltWithDetail(nullptr, 0, format, ##__VA_ARGS__); \
} \
} while (0)