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

@ -138,7 +138,7 @@ static int undo_undoes = FALSE;
static int lastmark = 0;
#if defined(U_DEBUG) || defined(PROTO)
#if defined(U_DEBUG)
/*
* Check the undo structures for being valid. Print a warning when something
* looks wrong.
@ -760,7 +760,7 @@ nomem:
return FAIL;
}
#if defined(FEAT_PERSISTENT_UNDO) || defined(PROTO)
#if defined(FEAT_PERSISTENT_UNDO)
# define UF_START_MAGIC "Vim\237UnDo\345" // magic at start of undofile
# define UF_START_MAGIC_LEN 9
@ -3634,7 +3634,7 @@ curbufIsChanged(void)
return bufIsChanged(curbuf);
}
#if defined(FEAT_EVAL) || defined(PROTO)
#if defined(FEAT_EVAL)
/*
* For undotree(): Append the list of undo blocks at "first_uhp" to "list".