Use char32_t for Codepoint

This commit is contained in:
Maxime Coste 2015-04-29 13:51:15 +01:00
parent d169558e09
commit 6974cfbf64

View File

@ -1,14 +1,12 @@
#ifndef unicode_hh_INCLUDED #ifndef unicode_hh_INCLUDED
#define unicode_hh_INCLUDED #define unicode_hh_INCLUDED
#include <cstdint>
#include <ctype.h>
#include <wctype.h> #include <wctype.h>
namespace Kakoune namespace Kakoune
{ {
using Codepoint = uint32_t; using Codepoint = char32_t;
inline bool is_eol(Codepoint c) inline bool is_eol(Codepoint c)
{ {