spellcheck_init()

Initialize and connect an instance of the spell check client.

Synopsis:

#include <spellcheck_client.h>
 
spellcheck_context_t* spellcheck_init(void)

Arguments:

Library:

libspellcheck_client

Description:

The spellcheck_init() function initializes the spell check client and connects it with the application for use. This also allocates memory to a spellcheck_context_t structure for use in the spellcheck_check_spelling(), spellcheck_get_suggestions(), and spellcheck_destroy() functions. Destroy all spellcheck_context_t structures no longer needed by using the spellcheck_destroy() function to prevent memory leaks.

Returns:

A spellcheck_context_t structure to be used by the spell check client instance.

Last modified: 2013-12-21

comments powered by Disqus