From c0c6fe863f8e074cbe8297b5da2a476f455b6518 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 1 Sep 2025 13:08:11 -0400 Subject: Make Texts() macro a bit more flexible. --- src/stdlib/integers.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/stdlib/integers.c') diff --git a/src/stdlib/integers.c b/src/stdlib/integers.c index 7dda77bd..5dc9ac55 100644 --- a/src/stdlib/integers.c +++ b/src/stdlib/integers.c @@ -617,6 +617,8 @@ void Int32$deserialize(FILE *in, void *outval, List_t *pointers, const TypeInfo_ Text_t text = _int64_to_text((int64_t)(*(c_type *)i)); \ return colorize ? Texts(Text("\033[35m"), text, Text("\033[m")) : text; \ } \ + public \ + Text_t KindOfInt##$value_as_text(c_type i) { return _int64_to_text((int64_t)i); } \ public \ PUREFUNC int32_t KindOfInt##$compare(const void *x, const void *y, const TypeInfo_t *info) { \ (void)info; \ -- cgit v1.2.3