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

@@ -14,7 +14,7 @@
#include "vim.h"
#if defined(FEAT_FOLDING) || defined(PROTO)
#if defined(FEAT_FOLDING)
// local declarations. {{{1
// typedef fold_T {{{2
@@ -3532,7 +3532,7 @@ foldlevelSyntax(fline_T *flp)
// functions for storing the fold state in a View {{{1
// put_folds() {{{2
#if defined(FEAT_SESSION) || defined(PROTO)
#if defined(FEAT_SESSION)
static int put_folds_recurse(FILE *fd, garray_T *gap, linenr_T off);
static int put_foldopen_recurse(FILE *fd, win_T *wp, garray_T *gap, linenr_T off);
static int put_fold_open_close(FILE *fd, fold_T *fp, linenr_T off);
@@ -3663,9 +3663,9 @@ put_fold_open_close(FILE *fd, fold_T *fp, linenr_T off)
#endif // FEAT_SESSION
// }}}1
#endif // defined(FEAT_FOLDING) || defined(PROTO)
#endif // defined(FEAT_FOLDING)
#if defined(FEAT_EVAL) || defined(PROTO)
#if defined(FEAT_EVAL)
/*
* "foldclosed()" and "foldclosedend()" functions