diff options
author | Marvin Borner | 2020-08-15 17:42:36 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-15 17:42:36 +0200 |
commit | 9f16b032d38613ca95e321e1d1e652c43129c68b (patch) | |
tree | 33f71a84f60b496ed31a128ec542c5341c754b0d /libc/inc/def.h | |
parent | 32b8722128dfb4ca9e814940a23c2b22a283bb12 (diff) |
Added libgui
Diffstat (limited to 'libc/inc/def.h')
-rw-r--r-- | libc/inc/def.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libc/inc/def.h b/libc/inc/def.h new file mode 100644 index 0000000..42939a0 --- /dev/null +++ b/libc/inc/def.h @@ -0,0 +1,28 @@ +// MIT License, Copyright (c) 2020 Marvin Borner + +#ifndef DEF_H +#define DEF_H + +/** + * Types + */ + +typedef signed char s8; +typedef unsigned char u8; + +typedef signed short s16; +typedef unsigned short u16; + +typedef signed long s32; +typedef unsigned long u32; + +typedef signed long long s64; +typedef unsigned long long u64; + +/** + * Macros + */ + +#define NULL ((void *)0) + +#endif |