projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 6.2 - patch 20210821
[ncurses.git]
/
ncurses
/
wcwidth.h
diff --git
a/ncurses/wcwidth.h
b/ncurses/wcwidth.h
index c8fb4d42466f1a9220234da094e5043065f12e13..76673da658455f317aba195f7f4a9a1d802f7460 100644
(file)
--- a/
ncurses/wcwidth.h
+++ b/
ncurses/wcwidth.h
@@
-59,6
+59,16
@@
* Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
*/
* Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
*/
+#ifndef _WCWIDTH_H_incl
+#define _WCWIDTH_H_incl 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <ncurses_cfg.h>
+#include <ncurses_dll.h>
+
#include <wchar.h>
struct interval {
#include <wchar.h>
struct interval {
@@
-310,3
+320,9
@@
NCURSES_EXPORT(int) mk_wcswidth_cjk(const wchar_t *pwcs, size_t n)
return width;
}
return width;
}
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _WCWIDTH_H_incl 1 */