mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 15:12:31 +00:00
13 lines
187 B
C
13 lines
187 B
C
|
#ifndef PANIC_H
|
||
|
#define PANIC_H
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
static void panic(const char *reason) {
|
||
|
fprintf(stderr, "%s\n", reason);
|
||
|
abort();
|
||
|
}
|
||
|
|
||
|
#endif /* PANIC_H */
|