summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libutf8proc/utf8proc.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/libutf8proc/utf8proc.h b/include/libutf8proc/utf8proc.h
index f5cc1e1..4f6b6b8 100644
--- a/include/libutf8proc/utf8proc.h
+++ b/include/libutf8proc/utf8proc.h
@@ -256,24 +256,25 @@ typedef struct utf8proc_property_struct {
utf8proc_uint16_t lowercase_seqindex;
utf8proc_uint16_t titlecase_seqindex;
utf8proc_uint16_t comb_index;
- unsigned bidi_mirrored:1;
- unsigned comp_exclusion:1;
+
+ char bidi_mirrored;
+ char comp_exclusion;
/**
* Can this codepoint be ignored?
*
* Used by @ref utf8proc_decompose_char when @ref UTF8PROC_IGNORE is
* passed as an option.
*/
- unsigned ignorable:1;
- unsigned control_boundary:1;
+ char ignorable;
+ char control_boundary;
/** The width of the codepoint. */
- unsigned charwidth:2;
- unsigned pad:2;
+ char charwidth;
+ char pad;
/**
* Boundclass.
* @see utf8proc_boundclass_t.
*/
- unsigned boundclass:8;
+ uint8_t boundclass;
} utf8proc_property_t;
/** Unicode categories. */