XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_stdbool.h
浏览该文件的文档.
1
12#ifndef __XF_STDBOOL_H__
13#define __XF_STDBOOL_H__
14
15/* ==================== [Includes] ========================================== */
16
17#include "xf_std_config.h"
18
19#if XF_STDBOOL_IS_ENABLE
20# include <stdbool.h>
21#endif
22
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36/* ==================== [Defines] =========================================== */
37
38#if (XF_STDBOOL_IS_ENABLE == 0)
39
40#ifndef bool
41typedef uint8_t bool;
42#define true 1
43#define false 0
44#endif
45
46#endif /* (XF_STDBOOL_IS_ENABLE == 0) */
47
48/* ==================== [Typedefs] ========================================== */
49
50/* ==================== [Global Prototypes] ================================= */
51
52/* ==================== [Macros] ============================================ */
53
54#ifdef __cplusplus
55} /* extern "C" */
56#endif
57
63#endif // __XF_STDBOOL_H__
xf_utils 封装标准库的配置。