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

@ -1077,7 +1077,7 @@ ex_copy(linenr_T line1, linenr_T line2, linenr_T n)
static char_u *prevcmd = NULL; // the previous command
#if defined(EXITFREE) || defined(PROTO)
#if defined(EXITFREE)
void
free_prev_shellcmd(void)
{
@ -5579,7 +5579,7 @@ set_old_sub(char_u *val)
}
#endif // FEAT_VIMINFO
#if defined(EXITFREE) || defined(PROTO)
#if defined(EXITFREE)
void
free_old_sub(void)
{
@ -5587,7 +5587,7 @@ free_old_sub(void)
}
#endif
#if defined(FEAT_QUICKFIX) || defined(PROTO)
#if defined(FEAT_QUICKFIX)
/*
* Set up for a tagpreview.
* Makes the preview window the current window.
@ -5871,7 +5871,7 @@ skip_vimgrep_pat_ext(char_u *p, char_u **s, int *flags, char_u **nulp, int *cp)
return p;
}
#if defined(FEAT_EVAL) || defined(PROTO)
#if defined(FEAT_EVAL)
/*
* List v:oldfiles in a nice way.
*/