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
@ -436,7 +436,7 @@ stuff_empty(void)
|
||||
&& readbuf2.bh_first.b_next == NULL);
|
||||
}
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
#if defined(FEAT_EVAL)
|
||||
/*
|
||||
* Return TRUE if readbuf1 is empty. There may still be redo characters in
|
||||
* redbuf2.
|
||||
@ -717,7 +717,7 @@ stuffReadbuffLen(char_u *s, long len)
|
||||
add_buff(&readbuf1, s, len);
|
||||
}
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
#if defined(FEAT_EVAL)
|
||||
/*
|
||||
* Stuff "s" into the stuff buffer, leaving special key codes unmodified and
|
||||
* escaping other K_SPECIAL and CSI bytes.
|
||||
@ -1700,7 +1700,7 @@ closescript(void)
|
||||
--curscript;
|
||||
}
|
||||
|
||||
#if defined(EXITFREE) || defined(PROTO)
|
||||
#if defined(EXITFREE)
|
||||
void
|
||||
close_all_scripts(void)
|
||||
{
|
||||
@ -2335,7 +2335,7 @@ vpeekc(void)
|
||||
return vgetorpeek(FALSE);
|
||||
}
|
||||
|
||||
#if defined(FEAT_TERMRESPONSE) || defined(FEAT_TERMINAL) || defined(PROTO)
|
||||
#if defined(FEAT_TERMRESPONSE) || defined(FEAT_TERMINAL)
|
||||
/*
|
||||
* Like vpeekc(), but don't allow mapping. Do allow checking for terminal
|
||||
* codes.
|
||||
@ -2391,7 +2391,7 @@ char_avail(void)
|
||||
return (retval != NUL);
|
||||
}
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
#if defined(FEAT_EVAL)
|
||||
/*
|
||||
* "getchar()" and "getcharstr()" functions
|
||||
*/
|
||||
@ -2582,7 +2582,7 @@ f_getcharmod(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
}
|
||||
#endif // FEAT_EVAL
|
||||
|
||||
#if defined(MESSAGE_QUEUE) || defined(PROTO)
|
||||
#if defined(MESSAGE_QUEUE)
|
||||
# define MAX_REPEAT_PARSE 8
|
||||
|
||||
/*
|
||||
@ -4189,7 +4189,7 @@ fix_input_buffer(char_u *buf, int len)
|
||||
return len;
|
||||
}
|
||||
|
||||
#if defined(USE_INPUT_BUF) || defined(PROTO)
|
||||
#if defined(USE_INPUT_BUF)
|
||||
/*
|
||||
* Return TRUE when bytes are in the input buffer or in the typeahead buffer.
|
||||
* Normally the input buffer would be sufficient, but the server_to_input_buf()
|
||||
@ -4314,7 +4314,7 @@ getcmdkeycmd(
|
||||
return (char_u *)line_ga.ga_data;
|
||||
}
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
#if defined(FEAT_EVAL)
|
||||
/*
|
||||
* If there was a mapping we get its SID. Otherwise, use "last_used_sid", it
|
||||
* is set when redo'ing.
|
||||
@ -4379,7 +4379,7 @@ do_cmdkey_command(int key UNUSED, int flags)
|
||||
return res;
|
||||
}
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
#if defined(FEAT_EVAL)
|
||||
void
|
||||
reset_last_used_map(mapblock_T *mp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user