aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/integers.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-01 13:08:11 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-01 13:08:11 -0400
commitc0c6fe863f8e074cbe8297b5da2a476f455b6518 (patch)
tree276bd5a52eec5eb6b2d4980adefb1bf5255951b6 /src/stdlib/integers.h
parenta571ccffd795a595e990a3405dcf977aafc33c6c (diff)
Make Texts() macro a bit more flexible.
Diffstat (limited to 'src/stdlib/integers.h')
-rw-r--r--src/stdlib/integers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdlib/integers.h b/src/stdlib/integers.h
index 40c40754..34195d23 100644
--- a/src/stdlib/integers.h
+++ b/src/stdlib/integers.h
@@ -22,6 +22,7 @@
bool is_none : 1; \
} Optional##type_name##_t; \
Text_t type_name##$as_text(const void *i, bool colorize, const TypeInfo_t *type); \
+ Text_t type_name##$value_as_text(c_type i); \
PUREFUNC int32_t type_name##$compare(const void *x, const void *y, const TypeInfo_t *type); \
PUREFUNC bool type_name##$equal(const void *x, const void *y, const TypeInfo_t *type); \
Text_t type_name##$hex(c_type i, Int_t digits, bool uppercase, bool prefix); \