aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/text.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-11-15 14:10:28 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-11-15 14:10:28 -0500
commitfc91166ce8590e67404cde79a273d7022ec16f1c (patch)
tree00a6331bb6d1570f057e6155f223330eb402af69 /src/stdlib/text.c
parent412487f2df5f3244c123c468e14d7f5f4c1e4c38 (diff)
Make EMPTY_TEXT into a macro
Diffstat (limited to 'src/stdlib/text.c')
-rw-r--r--src/stdlib/text.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/stdlib/text.c b/src/stdlib/text.c
index d40e1306..f323d88d 100644
--- a/src/stdlib/text.c
+++ b/src/stdlib/text.c
@@ -146,13 +146,6 @@ static int32_t num_synthetic_graphemes = 0;
static Text_t simple_concatenation(Text_t a, Text_t b);
-public
-Text_t EMPTY_TEXT = {
- .length = 0,
- .tag = TEXT_ASCII,
- .ascii = 0,
-};
-
PUREFUNC static bool graphemes_equal(const void *va, const void *vb, const TypeInfo_t *info) {
(void)info;
ucs4_t *a = *(ucs4_t **)va;