| 106 | } |
| 107 | |
| 108 | void swkbdSetDictWord(SwkbdDictWord* word, const char* reading, const char* text) |
| 109 | { |
| 110 | swkbdConvertToUTF16(word->reading, reading, SWKBD_MAX_WORD_LEN); |
| 111 | swkbdConvertToUTF16(word->word, text, SWKBD_MAX_WORD_LEN); |
| 112 | word->language = 0; |
| 113 | word->all_languages = true; |
| 114 | } |
| 115 | |
| 116 | void swkbdSetDictionary(SwkbdState* swkbd, const SwkbdDictWord* dict, int wordCount) |
| 117 | { |
nothing calls this directly
no test coverage detected