18#ifndef __APP_TYPE_H_INCLUDED__
19#define __APP_TYPE_H_INCLUDED__
23#if (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) && !defined(__cplusplus)
50#define INT8_MIN (-127i8 - 1)
51#define INT16_MIN (-32767i16 - 1)
52#define INT32_MIN (-2147483647i32 - 1)
54#define INT16_MAX 32767i16
55#define INT32_MAX 2147483647i32
56#define UINT8_MAX 0xffui8
57#define UINT16_MAX 0xffffui16
58#define UINT32_MAX 0xffffffffui32
60#define INT_LEAST8_MIN INT8_MIN
61#define INT_LEAST16_MIN INT16_MIN
62#define INT_LEAST32_MIN INT32_MIN
63#define INT_LEAST8_MAX INT8_MAX
64#define INT_LEAST16_MAX INT16_MAX
65#define INT_LEAST32_MAX INT32_MAX
66#define UINT_LEAST8_MAX UINT8_MAX
67#define UINT_LEAST16_MAX UINT16_MAX
68#define UINT_LEAST32_MAX UINT32_MAX
70#define INT_FAST8_MIN INT8_MIN
71#define INT_FAST16_MIN INT32_MIN
72#define INT_FAST32_MIN INT32_MIN
73#define INT_FAST8_MAX INT8_MAX
74#define INT_FAST16_MAX INT32_MAX
75#define INT_FAST32_MAX INT32_MAX
76#define UINT_FAST8_MAX UINT8_MAX
77#define UINT_FAST16_MAX UINT32_MAX
78#define UINT_FAST32_MAX UINT32_MAX
80#define INTPTR_MIN INT32_MIN
81#define INTPTR_MAX INT32_MAX
83#define INTMAX_MIN INT32_MIN
84#define INTMAX_MAX INT32_MAX
85#define UINTMAX_MAX UINT32_MAX
87#define PTRDIFF_MIN INTPTR_MIN
88#define PTRDIFF_MAX INTPTR_MAX
90#define WCHAR_MIN 0x0000
91#define WCHAR_MAX 0xffff
94 #define SIZE_MAX UINTPTR_MAX
101#if !defined(__USE_LOCAL_STDBOOL__)
102# if (!defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L) && !defined(__cplusplus)
113# undef __USE_LOCAL_STDINT_STDBOOL__
116#if !__IS_COMPILER_GCC__
126#define __optimal_bit_sz (sizeof(uintalu_t) * 8)
127#define __optimal_bit_msk (__optimal_bit_sz - 1)
146#include "../__common/__type.h"
int32_t intalu_t
Definition type.h:69
uint32_t uintalu_t
Definition type.h:68
unsigned int uint32_t
Definition lvgl.h:43
signed int int32_t
Definition lvgl.h:44
int32_t intmax_t
Definition type.h:48
signed long int int_least32_t typedef uint32_t uintptr_t
Definition type.h:45
signed short int16_t
Definition type.h:30
unsigned short uint16_t
Definition type.h:29
unsigned char uint_fast8_t
Definition type.h:26
unsigned long int uint32_t
Definition type.h:34
signed short int_least16_t typedef unsigned long int uint_least32_t
Definition type.h:42
int32_t intptr_t
Definition type.h:46
uint32_t uintmax_t
Definition type.h:47
signed short int_fast16_t
Definition type.h:32
unsigned long int uint_fast32_t
Definition type.h:36
unsigned short uint_fast16_t
Definition type.h:31
unsigned char uint8_t
Definition type.h:24
unsigned short uint_least16_t
Definition type.h:39
signed long int int32_t
Definition type.h:35
signed long int int_fast32_t
Definition type.h:37
signed char int8_t
Definition type.h:25
signed char int_fast8_t
Definition type.h:27
unsigned char uint_fast8_t
Definition stdint.h:23
int int_least32_t
Definition stdint.h:17
short int_least16_t
Definition stdint.h:15
char int_fast8_t
Definition stdint.h:22