diff options
author | Dom Lachowicz <domlachowicz@gmail.com> | 2003-08-14 16:27:36 +0000 |
---|---|---|
committer | Dom Lachowicz <domlachowicz@gmail.com> | 2003-08-14 16:27:36 +0000 |
commit | 437613861484826d69f2dc9505861872fbd8a8a8 (patch) | |
tree | 5e13e391959c311c348e5defacdbfbeccbe69b97 | |
parent | db836b0803fc71e9b99130b068262a18a196a864 (diff) | |
download | enchant-437613861484826d69f2dc9505861872fbd8a8a8.tar.gz |
update some documentation
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@20790 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | src/enchant.c | 6 | ||||
-rw-r--r-- | src/ispell/ispell_checker.cpp | 1 | ||||
-rw-r--r-- | src/ispell/ispell_checker.h | 1 | ||||
-rw-r--r-- | src/ispell/lookup.cpp | 14 |
4 files changed, 4 insertions, 18 deletions
diff --git a/src/enchant.c b/src/enchant.c index dcf185b..ca1c2d1 100644 --- a/src/enchant.c +++ b/src/enchant.c @@ -329,8 +329,6 @@ enchant_dict_suggest (EnchantDict * dict, const char *const word, * @word: The non-null word you wish to add to your personal dictionary, in UTF-8 encoding * @len: The non-zero byte length of @word * - * An implementation of "add_to_personal" is not guaranteed to work in all cases. - * This function's implementation may vary by provider. */ ENCHANT_MODULE_EXPORT (void) enchant_dict_add_to_personal (EnchantDict * dict, const char *const word, @@ -358,8 +356,6 @@ enchant_dict_add_to_personal (EnchantDict * dict, const char *const word, * @word: The non-null word you wish to add to this spell-checking session, in UTF-8 encoding * @len: The non-zero byte length of @word * - * An implementation of "add_to_session" is not guaranteed to work in all cases. - * This function's implementation may vary by provider. */ ENCHANT_MODULE_EXPORT (void) enchant_dict_add_to_session (EnchantDict * dict, const char *const word, @@ -384,7 +380,7 @@ enchant_dict_add_to_session (EnchantDict * dict, const char *const word, } /** - * enchant_dict_add_to_session + * enchant_dict_store_replacement * @dict: A non-null #EnchantDict * @mis: The non-null word you wish to add a correction for, in UTF-8 encoding * @mis_len: The non-zero byte length of @mis diff --git a/src/ispell/ispell_checker.cpp b/src/ispell/ispell_checker.cpp index 9dd527b..1844fe9 100644 --- a/src/ispell/ispell_checker.cpp +++ b/src/ispell/ispell_checker.cpp @@ -205,7 +205,6 @@ ISpellChecker::ISpellChecker() ISpellChecker::~ISpellChecker() { - // lcleanup(); // replaced this with functions for Win32 brokeness clearindex (m_pflagindex); clearindex (m_sflagindex); diff --git a/src/ispell/ispell_checker.h b/src/ispell/ispell_checker.h index 80c6ac9..d371965 100644 --- a/src/ispell/ispell_checker.h +++ b/src/ispell/ispell_checker.h @@ -97,7 +97,6 @@ private: int good (ichar_t* w, int ignoreflagbits, int allhits, int pfxopts, int sfxopts); void chk_aff (ichar_t* word, ichar_t* ucword, int len, int ignoreflagbits, int allhits, int pfxopts, int sfxopts); int linit(char*); - void lcleanup(); struct dent * ispell_lookup (ichar_t* s, int dotree); int strtoichar (ichar_t* out, char* in, int outlen, int canonical); int ichartostr (char* out, ichar_t* in, int outlen, int canonical); diff --git a/src/ispell/lookup.cpp b/src/ispell/lookup.cpp index 39f0d7d..1f6b201 100644 --- a/src/ispell/lookup.cpp +++ b/src/ispell/lookup.cpp @@ -72,6 +72,9 @@ /* * $Log$ + * Revision 1.4 2003/08/14 16:27:36 dom + * update some documentation + * * Revision 1.3 2003/07/28 20:40:27 dom * fix up the license clause, further win32-registry proof some directory getting functions * @@ -642,17 +645,6 @@ void ISpellChecker::initckch (char *wchars) } } -void ISpellChecker::lcleanup() -{ - clearindex (m_pflagindex); - clearindex (m_sflagindex); - - FREEP(m_hashtbl); - FREEP(m_hashstrings); - FREEP(m_sflaglist); - FREEP(m_chartypes); -} - /* * \param indexp */ |