Aegisub/cmake/hunspell_string_api.cpp

11 lines
197 B
C++
Raw Normal View History

2019-09-08 06:29:41 +02:00
#include <hunspell/hunspell.hxx>
#include <string>
int main() {
Hunspell hunspell(NULL, NULL);
std::string word = "";
hunspell.suggest(word);
hunspell.spell(word);
return 0;
}