XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_init.c
浏览该文件的文档.
1
12/* ==================== [Includes] ========================================== */
13
14#include "xf_init.h"
15
16/* ==================== [Defines] =========================================== */
17
18#define TAG "xf_init"
19
20/* ==================== [Typedefs] ========================================== */
21
22/* ==================== [Static Prototypes] ================================= */
23
24/* ==================== [Static Variables] ================================== */
25
26/* ==================== [Macros] ============================================ */
27
28/* ==================== [Global Functions] ================================== */
29
31{
32
33#if (XF_INIT_IMPL_METHOD == XF_INIT_IMPL_BY_REGISTRY || XF_INIT_IMPL_METHOD == XF_INIT_IMPL_BY_CONSTRUCTOR)
35#elif (XF_INIT_IMPL_METHOD == XF_INIT_IMPL_BY_SECTION)
37#endif
38
39 XF_LOGD(TAG, "Auto initialization is complete.");
40
41 return XF_OK;
42}
43
44/* ==================== [Static Functions] ================================== */
int32_t xf_err_t
整形错误类型。 错误码具体值见 xf_err_code_t.
Definition xf_err.h:69
@ XF_OK
Definition xf_err.h:43
自动初始化。
xf_err_t xf_init(void)
xf 初始化. 所有使用宏收集的初始化函数,将会在这里统一调用
Definition xf_init.c:30
#define TAG
Definition xf_init.c:18
void xf_init_from_registry(void)
注册函数收集后,统一在此调用初始化函数
void xf_init_from_section(void)
section 注册的函数将会被统一在这个函数里面调用。
#define XF_LOGD(tag, format,...)