Muto 0.0.1
Cross-Platform Application Template
GitHub Repo | Muto Updates | Muto's Author
Loading...
Searching...
No Matches
Asserts.h File Reference

Provides assertion macros for debugging and error handling. More...

#include "PlatformDetection.h"
#include <csignal>

Go to the source code of this file.

Macros

#define MU_ASSERT(x, ...)
 ASSERT MACROS.
 
#define MU_CORE_ASSERT(x, ...)
 
#define MU_DEBUGBREAK()   raise(SIGTRAP)
 Platform debug break.
 

Detailed Description

Provides assertion macros for debugging and error handling.

Author
Damon S. Green II

Macro Definition Documentation

◆ MU_ASSERT

#define MU_ASSERT (   x,
  ... 
)

ASSERT MACROS.

◆ MU_CORE_ASSERT

#define MU_CORE_ASSERT (   x,
  ... 
)

◆ MU_DEBUGBREAK

#define MU_DEBUGBREAK ( )    raise(SIGTRAP)

Platform debug break.