aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/xterm/wcwidth.h
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/xterm/wcwidth.h')
-rw-r--r--nx-X11/programs/xterm/wcwidth.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/nx-X11/programs/xterm/wcwidth.h b/nx-X11/programs/xterm/wcwidth.h
new file mode 100644
index 000000000..b4eb51af4
--- /dev/null
+++ b/nx-X11/programs/xterm/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 */