From df00df5a7a5bcd9076d4423128ea014ab3535626 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 11 Feb 2024 18:17:33 +0100 Subject: Update kit --- source/kit/types.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'source/kit/types.h') diff --git a/source/kit/types.h b/source/kit/types.h index b83ba39..cbb9a71 100644 --- a/source/kit/types.h +++ b/source/kit/types.h @@ -5,17 +5,32 @@ # define _GNU_SOURCE #endif +// signed integers +// typedef signed char i8; typedef signed short i16; typedef signed int i32; typedef signed long long i64; +// unsigned integers +// typedef unsigned char u8; typedef unsigned short u16; typedef unsigned int u32; typedef unsigned long long u64; +// floats +// typedef float f32; typedef double f64; +// chars +// +typedef signed char c8; +typedef signed int c32; + +typedef signed char b8; // 8-bit boolean +typedef signed int b32; // 32-bit boolean +typedef signed int s32; // 32-bit status + #endif -- cgit v1.2.3