From fc7978f884fe33690da034a8c557f7c2f3924e8a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 30 Aug 2022 18:59:51 +0300 Subject: compilation fix --- libs/hunspell/src/hunspell.c++ | 5 +++++ libs/hunspell/src/hunspell.hxx | 1 + 2 files changed, 6 insertions(+) (limited to 'libs') 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; -- cgit v1.2.3