Skip to content

Commit

Permalink
define CASE_FOLD_IS_ASCII_ONLY() and CASE_FOLD_IS_NOT_ASCII_ONLY()
Browse files Browse the repository at this point in the history
  • Loading branch information
kkos committed Nov 28, 2020
1 parent 6654aa8 commit b3cc984
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/regenc.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ struct PropertyNameCtype {
#define ENC_GET_SKIP_OFFSET(enc) \
(((enc)->flag & ENC_FLAG_SKIP_OFFSET_MASK)>>2)

#define CASE_FOLD_IS_ASCII_ONLY(flag) \
(((flag) & ONIGENC_CASE_FOLD_ASCII_ONLY) != 0)
#define CASE_FOLD_IS_NOT_ASCII_ONLY(flag) \
(((flag) & ONIGENC_CASE_FOLD_ASCII_ONLY) == 0)

/* for encoding system implementation (internal) */
extern int onigenc_end(void);
Expand Down

0 comments on commit b3cc984

Please sign in to comment.