// SPDX-License-Identifier: MIT // Copyright (c) 2023 John Watts and the LuminaSensum contributors #ifndef ERROR_H #define ERROR_H // Aborts the program with a message __attribute__((noreturn)) void abort_msg(const char *msg); // Aborts the program if a value is true void abort_if(int value, const char *msg); #endif