Skip to content

Commit

Permalink
add TK_STRINGIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
xianjimli committed Nov 13, 2024
1 parent b1c51ea commit e80b618
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# 最新动态

2024/11/13
* 增加\ TK_STRINGIZE(感谢兆坤提供补丁)

2024/11/11
* 新增软键盘候选词可见个数设置功能以及使用文档(感谢颖健提供补丁)

Expand Down
2 changes: 2 additions & 0 deletions src/tkc/types_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ typedef int socklen_t;
#define FALSE 0
#endif /*FALSE*/

#define TK_STRINGIZE(symbol) #symbol

#if defined(__GNUC__) && !defined(__cplusplus)
typedef _Bool bool_t;
#else
Expand Down

0 comments on commit e80b618

Please sign in to comment.