diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-23 15:33:25 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-23 15:33:43 -0500 |
| commit | 44f822a3d52051986df6d7b0fbd5c2a2a1bf6cf5 (patch) | |
| tree | e8203b2a00793066eb8d1381d600107f1b7efbae | |
| parent | b6366896db2c42ad5db92c16ea669bc0653f4878 (diff) | |
Add support for convert_to_text(Int_t)
| -rw-r--r-- | src/stdlib/text.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdlib/text.h b/src/stdlib/text.h index 776ea8ec..08423cfe 100644 --- a/src/stdlib/text.h +++ b/src/stdlib/text.h @@ -45,7 +45,8 @@ static inline Text_t Text_from_text(Text_t t) { return t; } int32_t: Int32$value_as_text, \ int64_t: Int64$value_as_text, \ double: Num$value_as_text, \ - float: Num32$value_as_text)(x) + float: Num32$value_as_text, \ + Int_t: Int$value_as_text)(x) Text_t Text$_concat(int n, Text_t items[n]); #define Text$concat(...) Text$_concat(sizeof((Text_t[]){__VA_ARGS__}) / sizeof(Text_t), (Text_t[]){__VA_ARGS__}) |
