-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libunibreak] Add the missing header files (#37794)
- Loading branch information
1 parent
34742e1
commit 91e4c13
Showing
6 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters