xt-sdk 文档 v1.0.3
xt-sdk 嵌入式 SDK API 参考
载入中...
搜索中...
未找到
xt_api_version.h
浏览该文件的文档.
1
12
13#ifndef __XT_API_VERSION_H__
14#define __XT_API_VERSION_H__
15
16/* ==================== [Includes] ========================================== */
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
28
29/* ==================== [Defines] =========================================== */
30
31/* >>> XT_API_VERSION_BEGIN <<< */
32#define XT_API_VERSION_MAJOR 1
33#define XT_API_VERSION_MINOR 0
34#define XT_API_VERSION_PATCH 0
35/* >>> XT_API_VERSION_END <<< */
36
37#if !defined(STR)
38# define STR(x) #x
39#endif
40
41#if !defined(XT_STR)
42# define XT_STR(x) STR(x)
43#endif
44
45#define XT_API_VERSION_NUN ((XT_API_VERSION_MAJOR << 16) + (XT_API_VERSION_MINOR << 8) + XT_API_VERSION_PATCH)
46#define XT_API_VERSION "V" XT_STR(XT_API_VERSION_MAJOR) "." XT_STR(XT_API_VERSION_MINOR) "." XT_STR(XT_API_VERSION_PATCH)
47
48/* ==================== [Typedefs] ========================================== */
49
50/* ==================== [Global Prototypes] ================================= */
51
52/* ==================== [Macros] ============================================ */
53 /* xt_api_version */
55
56#ifdef __cplusplus
57} /* extern "C" */
58#endif
59
60#endif /* __XT_API_VERSION_H__ */