23 lines
536 B
C
23 lines
536 B
C
#pragma once
|
|
|
|
// Exact-width integer types
|
|
typedef signed char int8_t;
|
|
typedef unsigned char uint8_t;
|
|
|
|
typedef signed short int16_t;
|
|
typedef unsigned short uint16_t;
|
|
|
|
typedef signed int int32_t;
|
|
typedef unsigned int uint32_t;
|
|
|
|
typedef signed long int64_t;
|
|
typedef unsigned long uint64_t;
|
|
|
|
// Integer types capable of holding object pointers
|
|
typedef int64_t intptr_t;
|
|
typedef uint64_t uintptr_t;
|
|
|
|
// Greatest-width integer types
|
|
typedef int64_t intmax_t;
|
|
typedef uint64_t uintmax_t;
|