1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6size_t spell_check(win_T *wp, char_u *ptr, hlf_T *attrp, int *capcol, _Bool docount );
7size_t spell_move_to(win_T *wp, int dir, _Bool allwords, _Bool curline, hlf_T *attrp );
8void spell_cat_line(char_u *buf, char_u *line, int maxlen);
9char_u *spell_enc(void);
10slang_T *slang_alloc(char_u *lang);
11void slang_free(slang_T *lp);
12void slang_clear(slang_T *lp);
13void slang_clear_sug(slang_T *lp);
14void count_common_word(slang_T *lp, char_u *word, int len, int count);
15_Bool byte_in_str(char_u *str, int n);
16int init_syl_tab(slang_T *slang);
17char_u *did_set_spelllang(win_T *wp);
18int captype(char_u *word, char_u *end) FUNC_ATTR_NONNULL_ARG(1);
19void spell_delete_wordlist(void);
20void spell_free_all(void);
21void spell_reload(void);
22buf_T *open_spellbuf(void);
23void close_spellbuf(buf_T *buf);
24void clear_spell_chartab(spelltab_T *sp);
25void init_spell_chartab(void);
26_Bool spell_iswordp_nmw(const char_u *p, win_T *wp);
27int spell_casefold(char_u *str, int len, char_u *buf, int buflen);
28int spell_check_sps(void);
29void spell_suggest(int count);
30void ex_spellrepall(exarg_T *eap);
31void spell_suggest_list(garray_T *gap, char_u *word, int maxcount, _Bool need_cap, _Bool interactive );
32void onecap_copy(char_u *word, char_u *wcopy, _Bool upper);
33char *eval_soundfold(const char *const word) FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_ALL;
34void spell_soundfold(slang_T *slang, char_u *inword, _Bool folded, char_u *res);
35void ex_spellinfo(exarg_T *eap);
36void ex_spelldump(exarg_T *eap);
37void spell_dump_compl(char_u *pat, int ic, int *dir, int dumpflags_arg );
38char_u *spell_to_word_end(char_u *start, win_T *win);
39int spell_word_start(int startcol);
40void spell_expand_check_cap(colnr_T col);
41int expand_spelling(linenr_T lnum, char_u *pat, char_u ***matchp);
42#include "nvim/func_attr.h"
43