Skip to content

Commit 4292a12

Browse files
author
chunjun.li
committed
fix(main):1.13.2, 将FillDefaultConfig()更名为FillAppDefaultConfig()
1 parent b83a8cf commit 4292a12

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

modules/main/misc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void GetAppVersion(int &major, int &minor, int &rev, int &build)
8181
major = minor = rev = build = 0;
8282
}
8383

84-
__attribute__((weak)) void FillDefaultConfig(Json &) { }
84+
__attribute__((weak)) void FillAppDefaultConfig(Json &) { }
8585

8686
__attribute__((weak)) void OnAbnormalExit() { }
8787

modules/main/run_in_backend.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extern void UninstallErrorSignals();
4545
extern void InstallTerminate();
4646

4747
extern void RegisterApps(Module &root, Context &ctx);
48-
extern void FillDefaultConfig(Json &js_conf);
48+
extern void FillAppDefaultConfig(Json &js_conf);
4949

5050
extern void SayHi();
5151
extern void SayBye();
@@ -131,10 +131,11 @@ bool Start(int argc, char **argv)
131131
Args args(js_conf);
132132
Trace trace;
133133

134-
FillDefaultConfig(js_conf);
135134
log.fillDefaultConfig(js_conf);
136135
ctx.fillDefaultConfig(js_conf);
137136
trace.fillDefaultConfig(js_conf);
137+
138+
FillAppDefaultConfig(js_conf);
138139
apps.fillDefaultConfig(js_conf);
139140

140141
if (!args.parse(argc, argv))

modules/main/run_in_frontend.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extern void UninstallErrorSignals();
4545
extern void InstallTerminate();
4646

4747
extern void RegisterApps(Module &root, Context &ctx);
48-
extern void FillDefaultConfig(Json &js_conf);
48+
extern void FillAppDefaultConfig(Json &js_conf);
4949

5050
extern void SayHi();
5151
extern void SayBye();
@@ -114,10 +114,11 @@ int Main(int argc, char **argv)
114114
Args args(js_conf);
115115
Trace trace;
116116

117-
FillDefaultConfig(js_conf);
118117
log.fillDefaultConfig(js_conf);
119118
ctx.fillDefaultConfig(js_conf);
120119
trace.fillDefaultConfig(js_conf);
120+
121+
FillAppDefaultConfig(js_conf);
121122
apps.fillDefaultConfig(js_conf);
122123

123124
if (!args.parse(argc, argv))

version.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
# TBOX版本号
2222
TBOX_VERSION_MAJOR := 1
2323
TBOX_VERSION_MINOR := 13
24-
TBOX_VERSION_REVISION := 1
24+
TBOX_VERSION_REVISION := 2

0 commit comments

Comments
 (0)