diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-03 12:29:48 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-03 12:29:48 -0400 |
commit | 33b9d606916f3847e0f754693ca49ce56175a330 (patch) | |
tree | eba26ad7722349ced40270f4a9a8083a58a7d453 /include/stdint.h | |
parent | track changes (diff) | |
download | comus-33b9d606916f3847e0f754693ca49ce56175a330.tar.gz comus-33b9d606916f3847e0f754693ca49ce56175a330.tar.bz2 comus-33b9d606916f3847e0f754693ca49ce56175a330.zip |
refactor include
Diffstat (limited to 'include/stdint.h')
-rw-r--r-- | include/stdint.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/stdint.h b/include/stdint.h new file mode 100644 index 0000000..25c442d --- /dev/null +++ b/include/stdint.h @@ -0,0 +1,27 @@ +/** + * @file stdint.h + * @author Freya Murphy <freya@freyacat.org> + * @author Warren R. Carithers + * + * Integer definitions. + */ + +#ifndef _STDINT_H +#define _STDINT_H + +// standard integer sized types +typedef char int8_t; +typedef unsigned char uint8_t; +typedef short int16_t; +typedef unsigned short uint16_t; +typedef int int32_t; +typedef unsigned int uint32_t; +typedef long long int int64_t; +typedef unsigned long long int uint64_t; + +// other integer types +typedef unsigned char uchar_t; +typedef unsigned int uint_t; +typedef unsigned long int ulong_t; + +#endif /* stdint.h */ |