Skip to content

These module docs are in beta and may be incomplete.

modm:architecture:assert

Content

// Function
modm_extern_c bool modm_assert(bool condition, const char *module, const char *location, const char *failure);
modm_extern_c bool modm_assert(bool condition, const char *module, const char *location, const char *failure, uintptr_t context);
modm_extern_c bool modm_assert_debug(bool condition, const char *module, const char *location, const char *failure);
modm_extern_c bool modm_assert_debug(bool condition, const char *module, const char *location, const char *failure, uintptr_t context);
modm_extern_c void modm_abandon(const char *module, const char *location, const char *failure, uintptr_t context) modm_weak;

// Enum
enum class Abandonment;

// Typedef
using modm::AssertionHandler = typedef Abandonment (*)(const char * module, const char * location, const char * failure, uintptr_t context);

// Define
#define MODM_ASSERTION_HANDLER(handler)

Dependencies

modm:architecture:assert modm_architecture_assert modm: architecture: assert modm_architecture modm: architecture modm_architecture_assert->modm_architecture modm_architecture_accessor modm: architecture: accessor modm_architecture_assert->modm_architecture_accessor modm_utils modm: utils modm_architecture_assert->modm_utils modm_driver_mcp2515 modm: driver: mcp2515 modm_driver_mcp2515->modm_architecture_assert modm_platform_can modm: platform: can modm_platform_can->modm_architecture_assert modm_platform_core modm: platform: core modm_platform_core->modm_architecture_assert modm_processing_resumable modm: processing: resumable modm_processing_resumable->modm_architecture_assert