From 147e0f0269440fce15d6b88a8a90627f3a3b2df2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 5 Mar 2025 18:20:54 -0500 Subject: Overhaul of constructors, making it more consistent and correct. Also changed T(), T, T_t, T_s type names to T(), T$$info, T$$type, T$$struct for unambiguity --- stdlib/datatypes.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'stdlib/datatypes.h') diff --git a/stdlib/datatypes.h b/stdlib/datatypes.h index af37446a..e131239b 100644 --- a/stdlib/datatypes.h +++ b/stdlib/datatypes.h @@ -19,6 +19,16 @@ #define ARRAY_MAX_DATA_REFCOUNT MAX_FOR_N_BITS(ARRAY_REFCOUNT_BITS) #define ARRAY_MAX_FREE_ENTRIES MAX_FOR_N_BITS(ARRAY_FREE_BITS) +#define Num_t double +#define Num32_t float + +#define Int64_t int64_t +#define Int32_t int32_t +#define Int16_t int16_t +#define Int8_t int8_t +#define Byte_t uint8_t +#define Bool_t bool + typedef union { int64_t small; mpz_t *big; -- cgit v1.2.3