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_EVAL) || defined(PROTO)
#if defined(FEAT_EVAL)
// Log file opened with ch_logfile().
static FILE *log_fd = NULL;
@ -136,7 +136,7 @@ ch_error(channel_T *ch, const char *fmt, ...)
}
#endif
#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
#if defined(FEAT_JOB_CHANNEL)
/*
* Log a message "buf[len]" for channel "ch" part "part".
* Only to be called when ch_log_active() returns TRUE.