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

@ -4484,7 +4484,7 @@ wildmenu_cleanup(cmdline_info_T *cclp UNUSED)
RedrawingDisabled = 0;
#endif
#if defined(FEAT_SEARCH_EXTRA) || defined(PROTO)
#if defined(FEAT_SEARCH_EXTRA)
// Clear highlighting applied during wildmenu activity
set_no_hlsearch(TRUE);
#endif
@ -4521,7 +4521,7 @@ wildmenu_cleanup(cmdline_info_T *cclp UNUSED)
#endif
}
#if defined(FEAT_EVAL) || defined(PROTO)
#if defined(FEAT_EVAL)
/*
* "getcompletion()" function
*/
@ -4863,7 +4863,7 @@ concat_pattern_with_buffer_match(
mch_memmove(match, pat, pat_len);
if (match_len > 0)
{
#if defined(FEAT_EVAL) || defined(FEAT_SPELL) || defined(PROTO)
#if defined(FEAT_EVAL) || defined(FEAT_SPELL)
if (lowercase)
{
char_u *mword = vim_strnsave(line + end_match_pos->col,
@ -4884,7 +4884,7 @@ concat_pattern_with_buffer_match(
match[pat_len + match_len] = NUL;
return match;
#if defined(FEAT_EVAL) || defined(FEAT_SPELL) || defined(PROTO)
#if defined(FEAT_EVAL) || defined(FEAT_SPELL)
cleanup:
vim_free(match);
return NULL;