From c93d358b6a0244a2fadc6cb979b5ca457ef3f1b5 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 9 Apr 2025 22:55:04 +0100 Subject: Add types.h for useful type aliases So simple it's not got any functions. --- types.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 types.h diff --git a/types.h b/types.h new file mode 100644 index 0000000..126bb77 --- /dev/null +++ b/types.h @@ -0,0 +1,30 @@ +/* Copyright (C) 2025 Aryadev Chavali + + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the Unlicense for details. + + * You may distribute and modify this code under the terms of the Unlicense, + * which you should have received a copy of along with this program. If not, + * please go to . + + * Created: 2025-04-09 + * Description: Some basic type definitions to make life easier. + */ + +#ifndef TYPES_H +#define TYPES_H + +#include + +typedef uint8_t u8; +typedef uint16_t u16; +typedef uint32_t u32; +typedef uint64_t u64; + +typedef int8_t i8; +typedef int16_t i16; +typedef int32_t i32; +typedef int64_t i64; + +#endif -- cgit v1.2.3-13-gbd6f