summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchenxiajian <chenxiajian1985@gmail.com>2011-08-15 15:04:17 +0000
committerchenxiajian <chenxiajian1985@gmail.com>2011-08-15 15:04:17 +0000
commit6f70bdec72b480ac5eebae45ad64b3147b43615c (patch)
treedfdaa7deb142e165dc57aa9151862b9b21137d9a
parent64366ecc5831736b30452cb3833b422b0caa2251 (diff)
downloadenchant-6f70bdec72b480ac5eebae45ad64b3147b43615c.tar.gz
dealt with Urmas mentioned problem: when the spell-checking dict is missing ,the hyphenaiton function can be used also
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2011hyphenation@30215 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--src/enchant.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/enchant.h b/src/enchant.h
index 5fdb7cd..fea8a85 100644
--- a/src/enchant.h
+++ b/src/enchant.h
@@ -25,7 +25,7 @@
* respects for all of the code used other than said providers. If you modify
* this file, you may extend this exception to your version of the
* file, but you are not obligated to do so. If you do not wish to
- * do so, delete this exception statement from your version.
+ * do so, delete this exception statement from your version.
*/
#ifndef __ENCHANT_VERSION_STRING
@@ -116,6 +116,8 @@ ENCHANT_MODULE_EXPORT (char **)
ENCHANT_MODULE_EXPORT (char *)
enchant_dict_hyphenate (EnchantDict * dict, const char *const word, ssize_t len);
+ENCHANT_MODULE_EXPORT (char*)
+enchant_dict_hyphenateWithoutDic (EnchantDict * dict,const char *const word, ssize_t len);
ENCHANT_MODULE_EXPORT (void)
enchant_dict_add (EnchantDict * dict, const char *const word,