XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_stdint.h
浏览该文件的文档.
1
12#ifndef __XF_STDINT_H__
13#define __XF_STDINT_H__
14
15/* ==================== [Includes] ========================================== */
16
17#include "xf_std_config.h"
18
19#if XF_STDINT_IS_ENABLE
20# include <stdint.h>
21#endif
22
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36/* ==================== [Defines] =========================================== */
37
38#if (XF_STDINT_IS_ENABLE == 0)
39
40typedef signed char int8_t;
41typedef signed short int16_t;
42typedef signed int int32_t;
43typedef unsigned char uint8_t;
44typedef unsigned short uint16_t;
45typedef unsigned int uint32_t;
46typedef long int intptr_t;
48#ifndef UINT8_MAX
49#define UINT8_MAX (0xffU)
50#endif
51#ifndef UINT16_MAX
52#define UINT16_MAX (0xffffU)
53#endif
54#ifndef UINT32_MAX
55#define UINT32_MAX (0xffffffffU)
56#endif
57
58#endif /* (XF_STDDEF_IS_ENABLE == 0) */
59
60/* ==================== [Typedefs] ========================================== */
61
62/* ==================== [Global Prototypes] ================================= */
63
64/* ==================== [Macros] ============================================ */
65
66#ifdef __cplusplus
67} /* extern "C" */
68#endif
69
75#endif // __XF_STDINT_H__
xf_utils 封装标准库的配置。