mirror of
https://github.com/bellard/quickjs.git
synced 2024-11-25 07:08:12 +08:00
Fix build: use LRE_BOOL in libunicode.h (#244)
This commit is contained in:
parent
1a5333bcb3
commit
ebe7496d14
@ -41,7 +41,7 @@ typedef enum {
|
|||||||
} UnicodeNormalizationEnum;
|
} UnicodeNormalizationEnum;
|
||||||
|
|
||||||
int lre_case_conv(uint32_t *res, uint32_t c, int conv_type);
|
int lre_case_conv(uint32_t *res, uint32_t c, int conv_type);
|
||||||
int lre_canonicalize(uint32_t c, BOOL is_unicode);
|
int lre_canonicalize(uint32_t c, LRE_BOOL is_unicode);
|
||||||
LRE_BOOL lre_is_cased(uint32_t c);
|
LRE_BOOL lre_is_cased(uint32_t c);
|
||||||
LRE_BOOL lre_is_case_ignorable(uint32_t c);
|
LRE_BOOL lre_is_case_ignorable(uint32_t c);
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ int cr_op(CharRange *cr, const uint32_t *a_pt, int a_len,
|
|||||||
|
|
||||||
int cr_invert(CharRange *cr);
|
int cr_invert(CharRange *cr);
|
||||||
|
|
||||||
int cr_regexp_canonicalize(CharRange *cr, BOOL is_unicode);
|
int cr_regexp_canonicalize(CharRange *cr, LRE_BOOL is_unicode);
|
||||||
|
|
||||||
#ifdef CONFIG_ALL_UNICODE
|
#ifdef CONFIG_ALL_UNICODE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user