Spelling.Checker.new
Description: Reference for Spelling.Checker.new

### Constructor

# Spelling Checkernew

#### Declaration [src]

    SpellingChecker*
    spelling_checker_new (
      SpellingProvider* provider,
      const char* language
    )

#### Description [src]

Create a new `SpellingChecker`.

#### Parameters

`provider` | `SpellingProvider`
| No description available.
| The data is owned by the caller of the function.
`language` | `const char*`
| No description available.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.

#### Return value

Returns: | `SpellingChecker`
| A newly created `SpellingChecker`.
| The caller of the function takes ownership of the data, and is responsible for freeing it.