aboutsummaryrefslogtreecommitdiff
path: root/error/src/error.c
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2023-06-17 20:21:58 -0700
committer3gg <3gg@shellblade.net>2023-06-17 20:21:58 -0700
commit08ec3a7a1fdb16cbb52b05f934bd001ca38bd991 (patch)
tree664da276c93ae301c0bac038cd011afda6396ac3 /error/src/error.c
parent2f8ff39a8d95b95288875d92abb74b1428713906 (diff)
Add error library.
Diffstat (limited to 'error/src/error.c')
-rw-r--r--error/src/error.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/error/src/error.c b/error/src/error.c
new file mode 100644
index 0000000..ccd850d
--- /dev/null
+++ b/error/src/error.c
@@ -0,0 +1,5 @@
1#include "error.h"
2
3xlstring gfx_error;
4
5const char* get_error(void) { return xlstring_cstr(&gfx_error); }