0
0
mirror of https://github.com/vim/vim.git synced 2025-10-22 08:34:29 -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

@@ -13,7 +13,7 @@
#include "vim.h"
#if defined(FEAT_EVAL) || defined(PROTO)
#if defined(FEAT_EVAL)
/*
* Prepare "gap" for an assert error and add the sourcing position.
@@ -1201,7 +1201,7 @@ f_test_null_blob(typval_T *argvars UNUSED, typval_T *rettv)
rettv->vval.v_blob = NULL;
}
#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
#if defined(FEAT_JOB_CHANNEL)
void
f_test_null_channel(typval_T *argvars UNUSED, typval_T *rettv)
{
@@ -1216,7 +1216,7 @@ f_test_null_dict(typval_T *argvars UNUSED, typval_T *rettv)
rettv_dict_set(rettv, NULL);
}
#if defined(FEAT_JOB_CHANNEL) || defined(PROTO)
#if defined(FEAT_JOB_CHANNEL)
void
f_test_null_job(typval_T *argvars UNUSED, typval_T *rettv)
{