aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-12-03 18:16:05 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-12-03 18:16:58 +0000
commit198529525c788f51babcd425ea7dcdb4d8125c04 (patch)
tree11297bc7c465b3d11ccecf40af6a3d581deaa8bd /misc.h
parentinput: discard canceled compose sequences (diff)
selection: break out isword() to a new file
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc.h b/misc.h
new file mode 100644
index 00000000..06dd3303
--- /dev/null
+++ b/misc.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <stdbool.h>
+#include <wchar.h>
+
+bool isword(wchar_t wc, bool spaces_only);