forked from enlightenment/efl
parent
10a10310e8
commit
4d8dffc411
|
@ -25,18 +25,6 @@
|
|||
#include "eina_unicode.h"
|
||||
#include "eina_safety_checks.h"
|
||||
|
||||
#if EINA_SIZEOF_WCHAR_T >= 4
|
||||
# include <wchar.h>
|
||||
typedef wchar_t Eina_Unicode;
|
||||
#else
|
||||
# include <inttypes.h>
|
||||
typedef uint32_t Eina_Unicode;
|
||||
#endif
|
||||
|
||||
#define ERROR_REPLACEMENT_BASE 0xDC80
|
||||
#define EINA_IS_INVALID_BYTE(x) ((x == 192) || (x == 193) || (x >= 245))
|
||||
#define EINA_IS_CONTINUATION_BYTE(x) ((x & 0xC0) == 0x80)
|
||||
|
||||
EAPI Eina_Unicode eina_unicode_utf8_get_next(const char *buf, int *iindex)
|
||||
{
|
||||
return eina_unicode_utf8_next_get(buf, iindex);
|
||||
|
|
Loading…
Reference in New Issue