aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/text.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-12-28 17:30:04 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-12-28 17:30:04 -0500
commitfedc4b0ead8f7874120c6e86aaa971a790faea1f (patch)
tree2973f9691b72c97a9cc80fd75c4db8e2e2c59e63 /src/stdlib/text.h
parent469030e9686e81c520c2ecbeab703a07361f51a4 (diff)
parentcfce376f585e0cd0231e95843617f75bd65b6c07 (diff)
Merge branch 'dev' into static-dependencies
Diffstat (limited to 'src/stdlib/text.h')
-rw-r--r--src/stdlib/text.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stdlib/text.h b/src/stdlib/text.h
index 44b7d736..abf8bd3c 100644
--- a/src/stdlib/text.h
+++ b/src/stdlib/text.h
@@ -33,7 +33,9 @@ static inline Text_t Text_from_str_literal(const char *str) {
return (Text_t){.length = strlen(str), .tag = TEXT_ASCII, .ascii = str};
}
-static inline Text_t Text_from_text(Text_t t) { return t; }
+static inline Text_t Text_from_text(Text_t t) {
+ return t;
+}
#define convert_to_text(x) \
_Generic(x, \