From 6893a28bd219b45bdf1e2ed5be015bc365d709d9 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 30 Jan 2016 17:01:37 +0000 Subject: hunspell: project update git-svn-id: http://svn.miranda-ng.org/main/trunk@16193 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- libs/hunspell/src/hunspelldll.h | 43 ----------------------------------------- 1 file changed, 43 deletions(-) (limited to 'libs/hunspell/src/hunspelldll.h') diff --git a/libs/hunspell/src/hunspelldll.h b/libs/hunspell/src/hunspelldll.h index 3221465726..32d168236a 100644 --- a/libs/hunspell/src/hunspelldll.h +++ b/libs/hunspell/src/hunspelldll.h @@ -36,47 +36,4 @@ #ifndef _DLL_H_ #define _DLL_H_ -#ifdef __cplusplus -extern "C" { -#endif - -// returns pointer to spell object, params are aff file name and dict file name -LIBHUNSPELL_DLL_EXPORTED void* hunspell_initialize(char* aff_file, - char* dict_file); -// frees spell object -LIBHUNSPELL_DLL_EXPORTED void hunspell_uninitialize(Hunspell* pMS); -// spellcheck word, returns 1 if word ok otherwise 0 -LIBHUNSPELL_DLL_EXPORTED int hunspell_spell(Hunspell* pMS, char* word); -// suggest words for word, returns number of words in slst -// YOU NEED TO CALL hunspell_suggest_free after you've done with words -LIBHUNSPELL_DLL_EXPORTED int hunspell_suggest(Hunspell* pMS, - char* word, - char*** slst); -LIBHUNSPELL_DLL_EXPORTED int hunspell_suggest_auto(Hunspell* pMS, - char* word, - char*** slst); -// free slst array -LIBHUNSPELL_DLL_EXPORTED void hunspell_free_list(Hunspell* pMS, - char*** slst, - int len); -// deprecated (use hunspell_free_list) -LIBHUNSPELL_DLL_EXPORTED void hunspell_suggest_free(Hunspell* pMS, - char** slst, - int len); -// make local copy of returned string!! -LIBHUNSPELL_DLL_EXPORTED char* hunspell_get_dic_encoding(Hunspell* pMS); -// add word to dict (word is valid until spell object is not destroyed) -LIBHUNSPELL_DLL_EXPORTED int hunspell_add(Hunspell* pMS, char* word); -// add word to dict with affixes of the modelword (word is valid until spell -// object is not destroyed) -LIBHUNSPELL_DLL_EXPORTED int hunspell_add_with_affix(Hunspell* pMS, - char* word, - char* modelword); -// remove word from dict -LIBHUNSPELL_DLL_EXPORTED int hunspell_remove(Hunspell* pMS, char* word); - -#ifdef __cplusplus -} -#endif - #endif /* _DLL_H_ */ -- cgit v1.2.3