XFusion API
v1.3.0
载入中...
搜索中...
未找到
xf_component_template.c
浏览该文件的文档.
1
12
/* ==================== [Includes] ========================================== */
13
14
#include "
xf_component_template.h
"
15
16
/* ==================== [Defines] =========================================== */
17
18
/* ==================== [Typedefs] ========================================== */
19
20
/* ==================== [Static Prototypes] ================================= */
21
22
/* ==================== [Static Variables] ================================== */
23
24
static
const
char
*
const
TAG
=
"components_test"
;
25
26
/* ==================== [Global Variables] ================================== */
27
28
extern
int
g_xf_templ_global_data2_no_in_head
;
29
30
/* ==================== [Macros] ============================================ */
31
32
/* ==================== [Global Functions] ================================== */
33
34
void
xf_component_func
(
void
)
35
{
36
XF_LOGI
(
TAG
,
"hello"
);
37
XF_LOGI
(
TAG
,
"CONFIG_COMPONENTS_TEST_VAL: %d"
, CONFIG_COMPONENTS_TEST_VAL);
38
g_xf_templ_global_data2_no_in_head
= 9;
39
return
;
40
}
41
42
/* ==================== [Static Functions] ================================== */
TAG
static const char *const TAG
Definition
xf_component_template.c:24
g_xf_templ_global_data2_no_in_head
int g_xf_templ_global_data2_no_in_head
Definition
xf_template_source_detail.c:276
xf_component_func
void xf_component_func(void)
extern "C" 的位置通常在 include 后面。
Definition
xf_component_template.c:34
xf_component_template.h
文件模板。
XF_LOGI
#define XF_LOGI(tag, format,...)
Definition
xf_log_uitls.h:44
examples
misc
xf_template
components
xf_component_template
xf_component_template.c
生成于 2025年 一月 21日 星期二 17:25:09 , 为 XFusion API使用
1.9.8