Skip to content

Commit

Permalink
improve csv save
Browse files Browse the repository at this point in the history
  • Loading branch information
xianjimli committed Dec 11, 2023
2 parents 62d8978 + bf99759 commit 41aa7dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

2023/12/11
* 完善 cvs file object 保存命令。
* awtk\_main.inc 增加FINAL\_EXIT,修改部分脚本绑定退出崩溃的问题。

2023/12/09
* 增加函数 date\_time\_parse\_date/date\_time\_parse\_time/date\_time\_parse\_date\_time
Expand Down
5 changes: 5 additions & 0 deletions src/awtk_main.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down Expand Up @@ -251,6 +255,7 @@ int main(int argc, char* argv[]) {
GLOBAL_EXIT();
tk_exit();

FINAL_EXIT();
#ifdef HAS_STDIO
fflush(stdout);
#endif /*HAS_STDIO*/
Expand Down
1 change: 1 addition & 0 deletions src/tkc/object_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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*/

0 comments on commit 41aa7dc

Please sign in to comment.