blob: a2d32143fac37e3e9a48715e684d14cb21ad07f5 [file] [log] [blame]
/*
* Copyright (C) Alexander Borisov
* Copyright (C) NGINX, Inc.
*/
#ifndef _NJS_UNICODE_H_INCLUDED_
#define _NJS_UNICODE_H_INCLUDED_
enum {
NJS_UNICODE_MAX_CODEPOINT = 0x10FFFF,
NJS_UNICODE_ERROR = 0x1FFFFF,
NJS_UNICODE_CONTINUE = 0x2FFFFF
};
typedef struct {
uint32_t codepoint;
u_char upper;
} njs_unicode_decode_t;
#endif /* _NJS_UNICODE_H_INCLUDED_ */