Added some type aliases

Nicer to refer to a byte as "byte" rather than "uint8_t"
This commit is contained in:
2023-10-15 01:34:42 +01:00
parent 7cf9160e3f
commit ca2e9c7083

View File

@@ -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!");