XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_template_header_detail.h
浏览该文件的文档.
1
12#ifndef __XF_TEMPLATE_HEADER_DETAIL_H__
13#define __XF_TEMPLATE_HEADER_DETAIL_H__
14
15/* ==================== [Includes] ========================================== */
16
17#include "xf_utils.h"
18
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26/* ==================== [Defines] =========================================== */
27
31#define XF_TEMPLATE_VERSION_MAJOR (1)
32#define XF_TEMPLATE_VERSION_MINOR (0)
33#define XF_TEMPLATE_VERSION_PATCH (0)
34
35/* ==================== [Typedefs] ========================================== */
36
41
52
53/* ==================== [Global Prototypes] ================================= */
54
62
70
71/* ==================== [Global Variables] ================================== */
72
78
79/* ==================== [Macros] ============================================ */
80
84#define XF_TEMPLATE_VERSION_CHECK(major, minor, patch) \
85 ((major * 10000) + (minor * 100) + patch)
86
90#define XF_TEMPLATE_VERSION \
91 XF_TEMPLATE_VERSION_CHECK(XF_TEMPLATE_VERSION_MAJOR, \
92 XF_TEMPLATE_VERSION_MINOR, \
93 XF_TEMPLATE_VERSION_PATCH)
94
95#ifdef __cplusplus
96} /* extern "C" */
97#endif
98
99#endif /* __XF_TEMPLATE_HEADER_DETAIL_H__ */
int32_t xf_err_t
整形错误类型。 错误码具体值见 xf_err_code_t.
Definition xf_err.h:69
@ XF_FAIL
Definition xf_err.h:42
@ XF_OK
Definition xf_err.h:43
xf_err_t xf_templ_err_t
整形错误类型。
xf_templ_err_t xf_template_init(void)
一个初始化函数。
xf_templ_err_t xf_template_another_func(void)
一个函数,函数定义在 xf_template_another.c。
_xf_templ_err_code_t
模板中的错误类型。
int g_xf_templ_global_data1_in_head
全局变量: [Global Variables].
enum _xf_templ_err_code_t xf_templ_err_code_t
模板中的错误类型。