What it solves
Assertions need bounded retained context and application-specific terminal handling.
How it works
1Condition→2severity + formatted record→3hooks→4terminal callback
Use it when
Record a failed invariant
Route fatal conditions to reset or halt callbacks
Retain recent bounded panic messages
Quick Start
#include "massert.h"
/* Initialize hook and history arrays, then use MASSERT_MSG or MPANIC. */Engineering evidence
- C99/C11 and C++ header compatibility is documented
Known limits
- Uses standard-library vsnprintf
- Terminal behavior is supplied by callbacks