// Copyright (c) 2026 Storm Dragon // SPDX-License-Identifier: GPL-3.0-or-later #ifndef FENRIR_SPELLCHECK_NATIVE_H #define FENRIR_SPELLCHECK_NATIVE_H #include typedef struct SpellDictionary SpellDictionary; SpellDictionary *spell_dictionary_open(const char *language, int *status); int spell_dictionary_check(SpellDictionary *context, const char *word, size_t length); char **spell_dictionary_suggest(SpellDictionary *context, const char *word, size_t length, size_t *count); void spell_dictionary_free_suggestions(SpellDictionary *context, char **suggestions); void spell_dictionary_close(SpellDictionary *context); #endif