mal-packet-weaver
C++20 packet serialization/deserialization library.
|
Contains debugging-related macros and utilities for assisting with debugging tasks. More...
#include "include/spdlog.hpp"
#include "library-pch.hpp"
#include "detail/debug_without_source_location.hpp"
Go to the source code of this file.
Macros | |
#define | MAL_TOOLKIT_ASSERT_LOGS 1 |
Indicates whether assertion logs are enabled (1) or disabled (0). | |
#define | MAL_TOOLKIT_ASSERT_ABORTS 0 |
Controls whether assertions should result in program abortion. | |
#define | MAL_TOOLKIT_ASSERT_THROWS 1 |
Controls whether assertions throw exceptions in case of failure. | |
#define | MAL_TOOLKIT_ASSERT_ENABLED 0 |
#define | MAL_TOOLKIT_ALWAYS_ASSERT_ENABLED 1 |
#define | MAL_TOOLKIT_FORCE_ASSERT 0 |
#define | MAL_TOOLKIT_ASSERT_NOEXCEPT |
Contains debugging-related macros and utilities for assisting with debugging tasks.
Definition in file debug.hpp.
#define MAL_TOOLKIT_ASSERT_ABORTS 0 |
Controls whether assertions should result in program abortion.
If set to 1, failed assertions will lead to program abortion. If set to 0, assertions will not abort the program, and behavior will depend on MAL_TOOLKIT_ASSERT_THROWS. This option is ignored in _DEBUG mode.
#define MAL_TOOLKIT_ASSERT_LOGS 1 |
#define MAL_TOOLKIT_ASSERT_THROWS 1 |
Controls whether assertions throw exceptions in case of failure.
If set to 1, failed assertions will throw exceptions. If set to 0, assertions will not throw exceptions and will follow the behavior defined by MAL_TOOLKIT_ASSERT_ABORTS. This option is ignored if MAL_TOOLKIT_ASSERT_ABORTS is set to 1.