diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-05 18:20:54 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-05 18:20:54 -0500 |
| commit | 147e0f0269440fce15d6b88a8a90627f3a3b2df2 (patch) | |
| tree | bc33522ba71b5a2996fae22e102cce5046cf1333 /stdlib/datatypes.h | |
| parent | 2c4324670ff569ede360d13875c5e4b5720a626d (diff) | |
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
Diffstat (limited to 'stdlib/datatypes.h')
| -rw-r--r-- | stdlib/datatypes.h | 10 |
1 files changed, 10 insertions, 0 deletions
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; |
