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:
committed by
Christian Brabandt
parent
ce5f9f45af
commit
e7c765fe59
@ -13,7 +13,7 @@
|
||||
|
||||
#include "vim.h"
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
#if defined(FEAT_EVAL)
|
||||
|
||||
static int
|
||||
win_getid(typval_T *argvars)
|
||||
@ -1306,8 +1306,7 @@ f_winwidth(typval_T *argvars, typval_T *rettv)
|
||||
}
|
||||
#endif // FEAT_EVAL
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(FEAT_PYTHON) || defined(FEAT_PYTHON3) \
|
||||
|| defined(PROTO)
|
||||
#if defined(FEAT_EVAL) || defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
|
||||
/*
|
||||
* Set "win" to be the curwin and "tp" to be the current tab page.
|
||||
* restore_win() MUST be called to undo, also when FAIL is returned.
|
||||
|
||||
Reference in New Issue
Block a user