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)

Since:

BlackBerry 10.0.0

Arguments:

word_suggestions

The spellcheck_suggestions_t structure to deallocate.

Library:

libspellcheck_client (For the qcc command, use the -l spellcheck_client option to link against this library)

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: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus