improve awtk_main.inc

This commit is contained in:
lixianjing 2023-12-11 09:51:34 +08:00
parent f5972bc4a2
commit bf99759212
3 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# 最新动态 # 最新动态
2023/12/11
* awtk\_main.inc 增加FINAL\_EXIT修改部分脚本绑定退出崩溃的问题。
2023/12/09 2023/12/09
* 增加函数 date\_time\_parse\_date/date\_time\_parse\_time/date\_time\_parse\_date\_time * 增加函数 date\_time\_parse\_date/date\_time\_parse\_time/date\_time\_parse\_date\_time
* 完善 fscript ulen。 * 完善 fscript ulen。

View File

@ -49,6 +49,10 @@ END_C_DECLS
#define GLOBAL_EXIT() #define GLOBAL_EXIT()
#endif /*GLOBAL_EXIT*/ #endif /*GLOBAL_EXIT*/
#ifndef FINAL_EXIT
#define FINAL_EXIT()
#endif /*FINAL_EXIT*/
#ifndef APP_NAME #ifndef APP_NAME
#define APP_NAME "awtk" #define APP_NAME "awtk"
#endif /*APP_NAME*/ #endif /*APP_NAME*/
@ -251,6 +255,7 @@ int main(int argc, char* argv[]) {
GLOBAL_EXIT(); GLOBAL_EXIT();
tk_exit(); tk_exit();
FINAL_EXIT();
#ifdef HAS_STDIO #ifdef HAS_STDIO
fflush(stdout); fflush(stdout);
#endif /*HAS_STDIO*/ #endif /*HAS_STDIO*/

View File

@ -94,4 +94,5 @@
#define OBJECT_CMD_EDIT TK_OBJECT_CMD_EDIT #define OBJECT_CMD_EDIT TK_OBJECT_CMD_EDIT
#define OBJECT_PROP_SIZE TK_OBJECT_PROP_SIZE #define OBJECT_PROP_SIZE TK_OBJECT_PROP_SIZE
#define OBJECT_PROP_CHECKED TK_OBJECT_PROP_CHECKED #define OBJECT_PROP_CHECKED TK_OBJECT_PROP_CHECKED
#define OBJECT_PROP_SELECTED_INDEX TK_OBJECT_PROP_SELECTED_INDEX
#endif /*USE_TK_PREFIX*/ #endif /*USE_TK_PREFIX*/