spellcheck_suggestions_destroy()

Deallocate memory used by a spellcheck_suggestions_t structure.

Synopsis:

#include <spellcheck_client.h>
 
void spellcheck_suggestions_destroy(spellcheck_suggestions_t *word_suggestions)

Arguments:

word_suggestions

The spellcheck_suggestions_t structure to deallocate.

Library:

libspellcheck_client

Description:

The spellcheck_suggestions_destroy() function deallocates any memory set to a given instance of a spellcheck_suggestions_t structure, destroying the spelling suggestions contained within. Use this function to deallocate memory used by a spellcheck_suggestions_t structure that's no longer in use. Failing to do so will result in a memory leak.

Returns:

Last modified: 2013-12-21

comments powered by Disqus