diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/unicode.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/unicode.h b/include/unicode.h index 05bdbca02..deb4022c3 100644 --- a/include/unicode.h +++ b/include/unicode.h | |||
@@ -18,7 +18,8 @@ enum { | |||
18 | UNICODE_ON = 2, | 18 | UNICODE_ON = 2, |
19 | }; | 19 | }; |
20 | 20 | ||
21 | #define unicode_isrtl(wc) 0 | 21 | #define unicode_bidi_isrtl(wc) 0 |
22 | #define unicode_bidi_is_neutral_wchar(wc) (wc <= 126 && !isalpha(wc)) | ||
22 | 23 | ||
23 | #if !ENABLE_FEATURE_ASSUME_UNICODE | 24 | #if !ENABLE_FEATURE_ASSUME_UNICODE |
24 | 25 | ||
@@ -92,8 +93,12 @@ int iswspace(wint_t wc) FAST_FUNC; | |||
92 | int iswalnum(wint_t wc) FAST_FUNC; | 93 | int iswalnum(wint_t wc) FAST_FUNC; |
93 | int iswpunct(wint_t wc) FAST_FUNC; | 94 | int iswpunct(wint_t wc) FAST_FUNC; |
94 | # if ENABLE_UNICODE_BIDI_SUPPORT | 95 | # if ENABLE_UNICODE_BIDI_SUPPORT |
95 | # undef unicode_isrtl | 96 | # undef unicode_bidi_isrtl |
96 | int unicode_isrtl(wint_t wc) FAST_FUNC; | 97 | int unicode_bidi_isrtl(wint_t wc) FAST_FUNC; |
98 | # if ENABLE_UNICODE_NEUTRAL_TABLE | ||
99 | # undef unicode_bidi_is_neutral_wchar | ||
100 | int unicode_bidi_is_neutral_wchar(wint_t wc) FAST_FUNC; | ||
101 | # endif | ||
97 | # endif | 102 | # endif |
98 | 103 | ||
99 | 104 | ||