summaryrefslogtreecommitdiff
path: root/wcwidth.h
diff options
context:
space:
mode:
authorLorry <lorry@roadtrain.codethink.co.uk>2012-07-10 15:54:41 +0100
committerLorry <lorry@roadtrain.codethink.co.uk>2012-07-10 15:54:41 +0100
commit18853b9e7f177a39aa228c812169b0f1e95324a0 (patch)
tree47af94eeac283b1fd9183d6133fb1b3fe4758eb1 /wcwidth.h
downloadxterm-18853b9e7f177a39aa228c812169b0f1e95324a0.tar.gz
Tarball conversion
Diffstat (limited to 'wcwidth.h')
-rw-r--r--wcwidth.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/wcwidth.h b/wcwidth.h
new file mode 100644
index 0000000..b4eb51a
--- /dev/null
+++ b/wcwidth.h
@@ -0,0 +1,14 @@
+/* $XFree86: xc/programs/xterm/wcwidth.h,v 1.5 2005/05/03 00:38:25 dickey Exp $ */
+
+#ifndef included_wcwidth_h
+#define included_wcwidth_h 1
+
+#include <stddef.h>
+
+extern int mk_wcswidth(const wchar_t * pwcs, size_t n);
+extern int mk_wcswidth_cjk(const wchar_t * pwcs, size_t n);
+extern int mk_wcwidth(wchar_t ucs);
+extern int mk_wcwidth_cjk(wchar_t ucs);
+extern int wcswidth_cjk(const wchar_t * pwcs, size_t n);
+
+#endif /* included_wcwidth_h */