diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-04-29 13:51:15 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-04-29 13:51:15 +0100 |
| commit | 6974cfbf64cccb40775067b5bb16d1e46c4bfcf9 (patch) | |
| tree | e014bac4c51b1afe48c0746a7a6e25b9bc0fd25e /src/unicode.hh | |
| parent | d169558e093cf0652326a156c8f4b8b8e4651388 (diff) | |
Use char32_t for Codepoint
Diffstat (limited to 'src/unicode.hh')
| -rw-r--r-- | src/unicode.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/unicode.hh b/src/unicode.hh index 25408351..30cb8f48 100644 --- a/src/unicode.hh +++ b/src/unicode.hh @@ -1,14 +1,12 @@ #ifndef unicode_hh_INCLUDED #define unicode_hh_INCLUDED -#include <cstdint> -#include <ctype.h> #include <wctype.h> namespace Kakoune { -using Codepoint = uint32_t; +using Codepoint = char32_t; inline bool is_eol(Codepoint c) { |
