Use char32_t for Codepoint
This commit is contained in:
parent
d169558e09
commit
6974cfbf64
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user