From 3c52a756339a2d96824d21a7d3ad5de7fc1085a0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 27 Mar 2025 17:26:51 -0400 Subject: 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. --- src/stdlib/optionals.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/stdlib/optionals.h') 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}) -- cgit v1.2.3