diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-15 21:00:42 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-15 21:01:53 +0100 |
commit | f637588d76627368bf7d82f6aa8f5596fe53bddf (patch) | |
tree | 58999b3d70cbdb038e17e06607b58d391787dca1 /lib | |
parent | 1915e6d25e45a135caaacec1bc9a603510adfad1 (diff) | |
download | chawan-f637588d76627368bf7d82f6aa8f5596fe53bddf.tar.gz |
quickjs: patch libunicode.h to use LRE_BOOL
This way it actually compiles :) (QJS includes cutils.h too, so BOOL works there. We don't, so this is the easiest fix.)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/quickjs/libunicode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/quickjs/libunicode.h b/lib/quickjs/libunicode.h index 8abacb01..cfb886b8 100644 --- a/lib/quickjs/libunicode.h +++ b/lib/quickjs/libunicode.h @@ -41,7 +41,7 @@ typedef enum { } UnicodeNormalizationEnum; 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_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_regexp_canonicalize(CharRange *cr, BOOL is_unicode); +int cr_regexp_canonicalize(CharRange *cr, LRE_BOOL is_unicode); #ifdef CONFIG_ALL_UNICODE |