summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-30 18:59:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-30 18:59:51 +0300
commitfc7978f884fe33690da034a8c557f7c2f3924e8a (patch)
treeee33a4702ddb9c68eee6206fca7f367a983ce297 /libs
parentab5dee1d3c99c5df92997b43c8d8b67c3cdd4f3d (diff)
compilation fix
Diffstat (limited to 'libs')
-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;