summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'error.h')
-rw-r--r--error.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/error.h b/error.h
new file mode 100644
index 0000000..e4f5351
--- /dev/null
+++ b/error.h
@@ -0,0 +1,4 @@
+#include <stdio.h>
+
+#define emit_error(...) fprintf(stderr, "Error: " __VA_ARGS__)
+#define emit_info(...) fprintf(stdout, "Info : " __VA_ARGS__)