mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve awtk_main.inc
This commit is contained in:
parent
f5972bc4a2
commit
bf99759212
@ -1,5 +1,8 @@
|
||||
# 最新动态
|
||||
|
||||
2023/12/11
|
||||
* awtk\_main.inc 增加FINAL\_EXIT,修改部分脚本绑定退出崩溃的问题。
|
||||
|
||||
2023/12/09
|
||||
* 增加函数 date\_time\_parse\_date/date\_time\_parse\_time/date\_time\_parse\_date\_time
|
||||
* 完善 fscript ulen。
|
||||
|
@ -49,6 +49,10 @@ END_C_DECLS
|
||||
#define GLOBAL_EXIT()
|
||||
#endif /*GLOBAL_EXIT*/
|
||||
|
||||
#ifndef FINAL_EXIT
|
||||
#define FINAL_EXIT()
|
||||
#endif /*FINAL_EXIT*/
|
||||
|
||||
#ifndef APP_NAME
|
||||
#define APP_NAME "awtk"
|
||||
#endif /*APP_NAME*/
|
||||
@ -251,6 +255,7 @@ int main(int argc, char* argv[]) {
|
||||
GLOBAL_EXIT();
|
||||
tk_exit();
|
||||
|
||||
FINAL_EXIT();
|
||||
#ifdef HAS_STDIO
|
||||
fflush(stdout);
|
||||
#endif /*HAS_STDIO*/
|
||||
|
@ -94,4 +94,5 @@
|
||||
#define OBJECT_CMD_EDIT TK_OBJECT_CMD_EDIT
|
||||
#define OBJECT_PROP_SIZE TK_OBJECT_PROP_SIZE
|
||||
#define OBJECT_PROP_CHECKED TK_OBJECT_PROP_CHECKED
|
||||
#define OBJECT_PROP_SELECTED_INDEX TK_OBJECT_PROP_SELECTED_INDEX
|
||||
#endif /*USE_TK_PREFIX*/
|
||||
|
Loading…
Reference in New Issue
Block a user