Method

SpellingProviderget_language

Declaration [src]

SpellingLanguage*
spelling_provider_get_language (
  SpellingProvider* self,
  const char* language
)

Description [src]

Gets an SpellingLanguage for the requested language, or NULL if the language is not supported.

Parameters

language const char*
 

The language to load such as en_US.

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

Return value

Returns: SpellingLanguage
 

An SpellingProvider or NULL.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.