0
0
mirror of https://github.com/vim/vim.git synced 2025-10-27 09:24:23 -04: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

@@ -126,9 +126,9 @@ check_changed(buf_T *buf, int flags)
return FALSE;
}
#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG) || defined(PROTO)
#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
#if defined(FEAT_BROWSE) || defined(PROTO)
#if defined(FEAT_BROWSE)
/*
* When wanting to write a file without a file name, ask the user for a name.
*/
@@ -835,9 +835,9 @@ ex_compiler(exarg_T *eap)
}
#endif
#if defined(FEAT_PYTHON3) || defined(FEAT_PYTHON) || defined(PROTO)
#if defined(FEAT_PYTHON3) || defined(FEAT_PYTHON)
# if (defined(FEAT_PYTHON) && defined(FEAT_PYTHON3)) || defined(PROTO)
# if defined(FEAT_PYTHON) && defined(FEAT_PYTHON3)
/*
* Detect Python 3 or 2, and initialize 'pyxversion'.
*/