blob: a24654769b5eb8fed16c4695e99f44004e65971e (
plain) (
tree)
|
|
#ifndef LIBGCOMPAT_INTERNAL_H
#define LIBGCOMPAT_INTERNAL_H
void GCOMPAT__panic(const char *fmt, ...) __attribute__((noreturn));
#define GCOMPAT__assert_with_reason(chk, ...) \
do { \
if (!(chk)) { \
GCOMPAT__panic(__VA_ARGS__); \
} \
} while (0);
#endif
|