XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_common.h
浏览该文件的文档.
1
12#ifndef __XF_COMMON_H__
13#define __XF_COMMON_H__
14
23/* ==================== [Includes] ========================================== */
24
25#include "xf_common_config.h"
26
27#include "xf_predef.h"
28#include "xf_version.h"
29#include "xf_attr.h"
30#include "xf_err.h"
31#include "xf_bit_defs.h"
32#include "xf_list.h"
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38/* ==================== [Defines] =========================================== */
39
40#if !(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
41#error "XF 需要 C99 或以上版本的编译器支持!"
42#endif
43
44/* ==================== [Typedefs] ========================================== */
45
46/* ==================== [Global Prototypes] ================================= */
47
48/* ==================== [Macros] ============================================ */
49
50#ifdef __cplusplus
51} /*extern "C"*/
52#endif
53
54#endif /* __XF_COMMON_H__ */
编译属性.
位操作.
预定义. xf_attr.h 等头文件通过包含本文件减少对其余外部文件的直接依赖. 如: xfconfig.h.
错误码及错误类型定义.
移除 gnu 特性的双向链表.
预定义宏.
xfusion 版本号.