summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorKrow Savcik <krow@savcik.xyz>2025-08-31 15:11:01 +0200
committerKrow Savcik <krow@savcik.xyz>2025-08-31 15:11:01 +0200
commit0fa7537ce5006a9c99bc7e295a4ae4ff0b920fda (patch)
tree057a91b30ab61417970c5defe825ce16a094ac39 /debug.h
initial commitHEADmaster
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug.h b/debug.h
new file mode 100644
index 0000000..03f41d3
--- /dev/null
+++ b/debug.h
@@ -0,0 +1,3 @@
+#define error(...) _error(__FILE__, __LINE__, __VA_ARGS__)
+
+void _error(const char *, const int, const char *, ...);