Mercurial > vim
comparison src/proto/spell.pro @ 15470:55ccc2d353bd v8.1.0743
patch 8.1.0743: giving error messages is not flexible
commit https://github.com/vim/vim/commit/f9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 13 23:38:42 2019 +0100
patch 8.1.0743: giving error messages is not flexible
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jan 2019 23:45:08 +0100 |
parents | b0c7061d6439 |
children | 0f7ae8010787 |
comparison
equal
deleted
inserted
replaced
15469:bc9b5261ed01 | 15470:55ccc2d353bd |
---|---|
8 void slang_clear(slang_T *lp); | 8 void slang_clear(slang_T *lp); |
9 void slang_clear_sug(slang_T *lp); | 9 void slang_clear_sug(slang_T *lp); |
10 void count_common_word(slang_T *lp, char_u *word, int len, int count); | 10 void count_common_word(slang_T *lp, char_u *word, int len, int count); |
11 int byte_in_str(char_u *str, int n); | 11 int byte_in_str(char_u *str, int n); |
12 int init_syl_tab(slang_T *slang); | 12 int init_syl_tab(slang_T *slang); |
13 char_u *did_set_spelllang(win_T *wp); | 13 char *did_set_spelllang(win_T *wp); |
14 int captype(char_u *word, char_u *end); | 14 int captype(char_u *word, char_u *end); |
15 void spell_delete_wordlist(void); | 15 void spell_delete_wordlist(void); |
16 void spell_free_all(void); | 16 void spell_free_all(void); |
17 void spell_reload(void); | 17 void spell_reload(void); |
18 buf_T *open_spellbuf(void); | 18 buf_T *open_spellbuf(void); |