diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-27 17:26:51 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-27 17:26:51 -0400 |
| commit | 3c52a756339a2d96824d21a7d3ad5de7fc1085a0 (patch) | |
| tree | e5299a25ebb76186d6372b700710d7c8c7fe0728 /src/stdlib/optionals.h | |
| parent | 2186e84de0c0fd47ba48eaa35f74ea2754c3b81f (diff) | |
Deprecate custom printf specifiers in favor of print() function that
uses _Generic() to generically convert any value to a string or print as
a string.
Diffstat (limited to 'src/stdlib/optionals.h')
| -rw-r--r-- | src/stdlib/optionals.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/stdlib/optionals.h b/src/stdlib/optionals.h index ccf1b963..94e4d900 100644 --- a/src/stdlib/optionals.h +++ b/src/stdlib/optionals.h @@ -10,12 +10,6 @@ #include "types.h" #include "util.h" -#define OptionalBool_t uint8_t -#define OptionalArray_t Array_t -#define OptionalTable_t Table_t -#define OptionalText_t Text_t -#define OptionalClosure_t Closure_t - #define NONE_ARRAY ((Array_t){.length=-1}) #define NONE_BOOL ((OptionalBool_t)2) #define NONE_INT ((OptionalInt_t){.small=0}) |
