Constructor
SpellingCheckernew
Declaration [src]
SpellingChecker*
spelling_checker_new (
SpellingProvider* provider,
const char* language
)
Parameters
provider-
Type:
SpellingProviderThe
SpellingProviderto use, orNULLfor the default one.The argument can be NULL.The data is owned by the caller of the function. language-
Type:
const char*The language to use, or
NULLfor the default one.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: SpellingChecker
A newly created SpellingChecker.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |