summaryrefslogtreecommitdiff
path: root/libs/hunspell/src
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hunspell/src')
-rw-r--r--libs/hunspell/src/hunspell.c++5
-rw-r--r--libs/hunspell/src/hunspell.hxx1
2 files changed, 6 insertions, 0 deletions
diff --git a/libs/hunspell/src/hunspell.c++ b/libs/hunspell/src/hunspell.c++
index 4afafdadc1..779f8ec241 100644
--- a/libs/hunspell/src/hunspell.c++
+++ b/libs/hunspell/src/hunspell.c++
@@ -120,6 +120,7 @@ public:
int generate(char*** slst, const char* word, const char* word2);
int generate(char*** slst, const char* word, char** desc, int n);
const char* get_wordchars() const;
+ const char* get_try_string() const { return pAMgr->get_try_string(); }
const char* get_version() const;
int input_conv(const char* word, char* dest, size_t destsize);
@@ -2156,6 +2157,10 @@ const char* Hunspell::get_version() const {
return m_Impl->get_version();
}
+const char* Hunspell::get_try_string() const {
+ return m_Impl->get_try_string();
+}
+
int Hunspell::input_conv(const char* word, char* dest, size_t destsize) {
return m_Impl->input_conv(word, dest, destsize);
}
diff --git a/libs/hunspell/src/hunspell.hxx b/libs/hunspell/src/hunspell.hxx
index 8640a35ca1..d157078714 100644
--- a/libs/hunspell/src/hunspell.hxx
+++ b/libs/hunspell/src/hunspell.hxx
@@ -219,6 +219,7 @@ class LIBHUNSPELL_DLL_EXPORTED Hunspell {
struct cs_info* get_csconv();
+ const char* get_try_string() const;
const char* get_version() const;
const std::string& get_version_cpp() const;