Changeset 94546 in vbox
- Timestamp:
- Apr 11, 2022 12:15:07 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/include/iprt/stdint.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/stdint.h
r93129 r94546 185 185 typedef uint64_t uintmax_t; 186 186 # endif 187 188 /* smallest minimum-width integer types - assumes to be the same as above! */ 189 typedef int8_t int_least8_t; 190 typedef uint8_t uint_least8_t; 191 # define INT_LEAST8_MIN INT8_MIN 192 # define INT_LEAST8_MAX INT8_MAX 193 # define UINT_LEAST8_MAX UINT8_MAX 194 typedef int16_t int_least16_t; 195 typedef uint16_t uint_least16_t; 196 # define INT_LEAST16_MIN INT16_MIN 197 # define INT_LEAST16_MAX INT16_MAX 198 # define UINT_LEAST16_MAX UINT16_MAX 199 typedef int32_t int_least32_t; 200 typedef uint32_t uint_least32_t; 201 # define INT_LEAST32_MIN INT32_MIN 202 # define INT_LEAST32_MAX INT32_MAX 203 # define UINT_LEAST32_MAX UINT32_MAX 204 typedef int64_t int_least64_t; 205 typedef uint64_t uint_least64_t; 206 # define INT_LEAST64_MIN INT64_MIN 207 # define INT_LEAST64_MAX INT64_MAX 208 # define UINT_LEAST64_MAX UINT64_MAX 209 210 /* fastest minimum-width integer types */ 211 typedef signed char int_fast8_t; 212 typedef unsigned char uint_fast8_t; 213 # define INT_FAST8_MIN INT8_MIN 214 # define INT_FAST8_MAX INT8_MAX 215 # define UINT_FAST8_MAX UINT8_MAX 216 typedef signed int int_fast16_t; 217 typedef unsigned int uint_fast16_t; 218 # if ARCH_BITS == 16 219 # define INT_FAST16_MIN INT16_MIN 220 # define INT_FAST16_MAX INT16_MAX 221 # define UINT_FAST16_MAX UINT16_MAX 222 # else 223 # define INT_FAST16_MIN INT32_MIN 224 # define INT_FAST16_MAX INT32_MAX 225 # define UINT_FAST16_MAX UINT32_MAX 226 # endif 227 typedef int32_t int_fast32_t; 228 typedef uint32_t uint_fast32_t; 229 # define INT_FAST32_MIN INT32_MIN 230 # define INT_FAST32_MAX INT32_MAX 231 # define UINT_FAST32_MAX UINT32_MAX 232 typedef int64_t int_fast64_t; 233 typedef uint64_t uint_fast64_t; 234 # define INT_FAST64_MIN INT64_MIN 235 # define INT_FAST64_MAX INT64_MAX 236 # define UINT_FAST64_MAX UINT64_MAX 187 237 188 238 # else
Note:
See TracChangeset
for help on using the changeset viewer.

