Constructor
SpellingCheckernew
Declaration [src]
SpellingChecker*
spelling_checker_new (
SpellingProvider* provider,
const char* language
)
Parameters
provider
-
Type:
SpellingProvider
The
SpellingProvider
to use, orNULL
for 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
NULL
for 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. |