summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-02-13 16:43:00 +0100
committerLouis Burda <quent.burda@gmail.com>2022-02-13 17:02:44 +0100
commit96e9e044e779b301b0608aea0ee4449124a8d0bd (patch)
treecc774fe2a5f11cc4b1e5003b92cc80ebf47269fb /src/util.h
parentf5ccba488250d09df9c4a0d5f50a1e7666e7cac3 (diff)
downloadtmus-96e9e044e779b301b0608aea0ee4449124a8d0bd.tar.gz
tmus-96e9e044e779b301b0608aea0ee4449124a8d0bd.zip
Added command status and move and copy cmds
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index dba8232..6d76127 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,6 +1,7 @@
#pragma once
#include <stdio.h>
+#include <wchar.h>
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) > (b) ? (b) : (a))
@@ -15,6 +16,7 @@ void panic(const char *file, int line, const char *msg, ...);
void assert(int cond, const char *file, int line, const char *condstr);
char *aprintf(const char *fmtstr, ...);
+wchar_t *awprintf(const wchar_t *fmtstr, ...);
char *appendstrf(char *alloc, const char *fmtstr, ...);
char *sanitized(const char *instr);