summaryrefslogtreecommitdiff
path: root/util/sbase/libutf/isgraphrune.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/sbase/libutf/isgraphrune.c')
-rw-r--r--util/sbase/libutf/isgraphrune.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/sbase/libutf/isgraphrune.c b/util/sbase/libutf/isgraphrune.c
new file mode 100644
index 00000000..08770f64
--- /dev/null
+++ b/util/sbase/libutf/isgraphrune.c
@@ -0,0 +1,9 @@
+/* Automatically generated by mkrunetype.awk */
+#include "../utf.h"
+#include "runetype.h"
+
+int
+isgraphrune(Rune r)
+{
+ return !isspacerune(r) && isprintrune(r);
+}