Method

SpellingLanguagelist_corrections

Declaration [src]

char**
spelling_language_list_corrections (
  SpellingLanguage* self,
  const char* word,
  gssize word_len
)

Description [src]

Retrieves a list of possible corrections for word.

Parameters

word const char*
 

A word to be checked.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
word_len gssize
 

The length of word, or -1 if word is zero-terminated.

Return value

Returns: An array of char*
 

A list of possible corrections, or NULL.

 The array is NULL-terminated.
 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.
 Each element is a NUL terminated UTF-8 string.