This commit is contained in:
Judah Caruso 2026-02-18 22:01:19 -07:00
parent d17c8ea847
commit 17e458b4e7

View file

@ -36,6 +36,10 @@ typedef uintptr_t uintptr;
typedef size_t usize; typedef size_t usize;
typedef ptrdiff_t ssize; typedef ptrdiff_t ssize;
typedef int64_t sint;
typedef uint64_t uint;
// Thanks AZMR // Thanks AZMR
#define cast(to_type, expr) ((to_type)(expr)) #define cast(to_type, expr) ((to_type)(expr))
#define chkcast(to_type, from_type, expr) _Generic(expr, from_type: (to_type)(expr)) #define chkcast(to_type, from_type, expr) _Generic(expr, from_type: (to_type)(expr))