From ca2e9c7083347366402991531d236f35d6726450 Mon Sep 17 00:00:00 2001
From: Aryadev Chavali <aryadev@aryadevchavali.com>
Date: Sun, 15 Oct 2023 01:34:42 +0100
Subject: Added some type aliases

Nicer to refer to a byte as "byte" rather than "uint8_t"
---
 src/main.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'src')

diff --git a/src/main.c b/src/main.c
index 34102f4..cd66ebb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -10,8 +10,19 @@
  * Description: Entrypoint to program
  */
 
+#include <stdint.h>
 #include <stdio.h>
 
+typedef uint64_t u64;
+typedef uint32_t u32;
+typedef int32_t i32;
+typedef int64_t i64;
+typedef float f32;
+typedef double f64;
+
+typedef uint8_t byte;
+typedef u64 word;
+
 int main(void)
 {
   puts("Hello, world!");
-- 
cgit v1.2.3-13-gbd6f