blob: aafa6b4cbc7a53bf66526ee9105f7fa1fe7b05a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff --git a/src/eastasianwidthdef.h b/src/eastasianwidthdef.h
index 67a41aa..c081a02 100644
--- a/src/eastasianwidthdef.h
+++ b/src/eastasianwidthdef.h
@@ -26,6 +26,9 @@
#include "unibreakdef.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* East Asian Width (ea) class. This is defined in Unicode Standard
* Annex 11.
@@ -52,5 +55,8 @@ struct EastAsianWidthProperties
};
enum EastAsianWidthClass ub_get_char_eaw_class(utf32_t ch);
+#ifdef __cplusplus
+}
+#endif
#endif /* EASTASIANWIDTHDEF_H */
|