summaryrefslogtreecommitdiffstats
path: root/bytecode/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'bytecode/panic.h')
-rw-r--r--bytecode/panic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bytecode/panic.h b/bytecode/panic.h
new file mode 100644
index 0000000..d9904a8
--- /dev/null
+++ b/bytecode/panic.h
@@ -0,0 +1,7 @@
+#ifndef _PANIC_H_
+#define _PANIC_H_
+
+// Prints a message to stderr and exits the process.
+void panicf(const char *, ...);
+
+#endif