diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-01-29 14:27:10 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-01-29 14:27:10 -0500 |
| commit | 74b1265d2abdc0fe212e0882ac1759068993ee04 (patch) | |
| tree | c5b876fa68a3d080265c2e68ed5761d956198c42 /stdlib/datatypes.h | |
| parent | f93dde14496ef784df6b7b3e1de1030a868be985 (diff) | |
Text struct field reordering
Diffstat (limited to 'stdlib/datatypes.h')
| -rw-r--r-- | stdlib/datatypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/datatypes.h b/stdlib/datatypes.h index 80591adc..0254060b 100644 --- a/stdlib/datatypes.h +++ b/stdlib/datatypes.h @@ -70,8 +70,8 @@ enum text_type { TEXT_ASCII, TEXT_GRAPHEMES, TEXT_CONCAT }; typedef struct Text_s { int64_t length:54; // Number of grapheme clusters - uint8_t depth:8; uint8_t tag:2; + uint8_t depth:8; union { struct { const char *ascii; |
