XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_component_template.c
浏览该文件的文档.
1
12/* ==================== [Includes] ========================================== */
13
15
16/* ==================== [Defines] =========================================== */
17
18/* ==================== [Typedefs] ========================================== */
19
20/* ==================== [Static Prototypes] ================================= */
21
22/* ==================== [Static Variables] ================================== */
23
24static const char *const TAG = "components_test";
25
26/* ==================== [Global Variables] ================================== */
27
29
30/* ==================== [Macros] ============================================ */
31
32/* ==================== [Global Functions] ================================== */
33
35{
36 XF_LOGI(TAG, "hello");
37 XF_LOGI(TAG, "CONFIG_COMPONENTS_TEST_VAL: %d", CONFIG_COMPONENTS_TEST_VAL);
39 return;
40}
41
42/* ==================== [Static Functions] ================================== */
static const char *const TAG
int g_xf_templ_global_data2_no_in_head
void xf_component_func(void)
extern "C" 的位置通常在 include 后面。
#define XF_LOGI(tag, format,...)