Skip to content

Commit

Permalink
Fix build: use LRE_BOOL in libunicode.h (bellard#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
kostyaby committed Mar 3, 2024
1 parent 1a5333b commit ebe7496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libunicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ebe7496

Please sign in to comment.