MCPcopy Create free account
hub / github.com/devkitPro/libctru / swkbdSetDictWord

Function swkbdSetDictWord

libctru/source/applets/swkbd.c:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void 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
116void swkbdSetDictionary(SwkbdState* swkbd, const SwkbdDictWord* dict, int wordCount)
117{

Callers

nothing calls this directly

Calls 1

swkbdConvertToUTF16Function · 0.85

Tested by

no test coverage detected