diff options
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 */ |