2026-07-02 15:40:39 +08:00
|
|
|
#ifndef UTSM_ASSERT_H
|
|
|
|
|
#define UTSM_ASSERT_H
|
|
|
|
|
|
|
|
|
|
#include <utsm/log.h>
|
2026-10-01 23:29:49 +08:00
|
|
|
#include <utsm/panic.h>
|
2026-07-02 15:40:39 +08:00
|
|
|
|
|
|
|
|
#define UTSM_ASSERT(cond) do { if (!(cond)) { panic("assertion failed: " #cond); } } while (0)
|
|
|
|
|
|
|
|
|
|
#endif
|