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

@ -1046,7 +1046,7 @@ redraw_win_toolbar(win_T *wp)
}
#endif
#if defined(FEAT_FOLDING) || defined(PROTO)
#if defined(FEAT_FOLDING)
/*
* Copy "buf[len]" to ScreenLines["off"] and set attributes to "attr".
*/
@ -2875,7 +2875,7 @@ update_finish(void)
}
#endif
#if defined(FEAT_NETBEANS_INTG) || defined(PROTO)
#if defined(FEAT_NETBEANS_INTG)
void
update_debug_sign(buf_T *buf, linenr_T lnum)
{
@ -2925,7 +2925,7 @@ update_debug_sign(buf_T *buf, linenr_T lnum)
}
#endif
#if defined(FEAT_GUI) || defined(PROTO)
#if defined(FEAT_GUI)
/*
* Update a single window, its status line and maybe the command line msg.
* Used for the GUI scrollbar.
@ -3277,7 +3277,7 @@ redraw_buf_later(buf_T *buf, int type)
#endif
}
#if defined(FEAT_SIGNS) || defined(PROTO)
#if defined(FEAT_SIGNS)
void
redraw_buf_line_later(buf_T *buf, linenr_T lnum)
{
@ -3290,7 +3290,7 @@ redraw_buf_line_later(buf_T *buf, linenr_T lnum)
}
#endif
#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
#if defined(FEAT_JOB_CHANNEL)
void
redraw_buf_and_status_later(buf_T *buf, int type)
{