pub unsafe extern "C" fn swkbdSetDictionary(
    swkbd: *mut SwkbdState,
    dict: *const SwkbdDictWord,
    wordCount: c_int
)
Expand description

Sets the custom word dictionary to be used with the predictive input system of a software keyboard.

§Arguments

  • swkbd - Pointer to swkbd state.
  • dict - Pointer to dictionary words.
  • wordCount - Number of words in the dictionary.