0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

patch 9.1.1840: Generating prototype files does not work on all platforms

Problem:  Generating prototype files does not work on all platforms
Solution: Rework prototypes generation using python instead of cproto,
          enable it in CI to test it for each PR (Hirohito Higashi).

closes: #18045

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-10-08 18:31:13 +00:00
committed by Christian Brabandt
parent ce5f9f45af
commit e7c765fe59
160 changed files with 1751 additions and 1551 deletions

View File

@@ -49,7 +49,7 @@ static void ins_ctrl_o(void);
static void ins_shift(int c, int lastc);
static void ins_del(void);
static int ins_bs(int c, int mode, int *inserted_space_p);
#if defined(FEAT_GUI_TABLINE) || defined(PROTO)
#if defined(FEAT_GUI_TABLINE)
static void ins_tabline(int c);
#endif
static void ins_left(void);
@@ -1769,7 +1769,7 @@ edit_putchar(int c, int highlight)
screen_putchar(c, pc_row, pc_col, attr);
}
#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
#if defined(FEAT_JOB_CHANNEL)
/*
* Set the insert start position for when using a prompt buffer.
*/
@@ -2636,7 +2636,7 @@ set_last_insert(int c)
last_insert_skip = 0;
}
#if defined(EXITFREE) || defined(PROTO)
#if defined(EXITFREE)
void
free_last_insert(void)
{
@@ -3380,7 +3380,7 @@ replace_do_bs(int limit_col)
(void)del_char_after_col(limit_col);
}
#if defined(FEAT_RIGHTLEFT) || defined(PROTO)
#if defined(FEAT_RIGHTLEFT)
/*
* Map Hebrew keyboard when in hkmap mode.
*/
@@ -4611,7 +4611,7 @@ bracketed_paste(paste_mode_T mode, int drop, garray_T *gap)
return ret_char;
}
#if defined(FEAT_GUI_TABLINE) || defined(PROTO)
#if defined(FEAT_GUI_TABLINE)
static void
ins_tabline(int c)
{
@@ -4634,7 +4634,7 @@ ins_tabline(int c)
}
#endif
#if defined(FEAT_GUI) || defined(PROTO)
#if defined(FEAT_GUI)
void
ins_scroll(void)
{