mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05: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:
committed by
Christian Brabandt
parent
ce5f9f45af
commit
e7c765fe59
@@ -91,7 +91,7 @@ gettext_lang(char_u *name)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_MULTI_LANG) || defined(PROTO)
|
||||
#if defined(FEAT_MULTI_LANG)
|
||||
/*
|
||||
* Return TRUE when "lang" starts with a valid language name.
|
||||
* Rejects NULL, empty string, "C", "C.UTF-8" and others.
|
||||
@@ -169,7 +169,7 @@ get_mess_env(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
#if defined(FEAT_EVAL)
|
||||
|
||||
/*
|
||||
* Set the "v:lang" variable according to the current locale setting.
|
||||
@@ -212,7 +212,7 @@ set_lang_var(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_LOCALE_H) || defined(X_LOCALE) || defined(PROTO)
|
||||
#if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
|
||||
/*
|
||||
* Setup to use the current locale (for ctype() and many other things).
|
||||
*/
|
||||
@@ -511,7 +511,7 @@ init_locales(void)
|
||||
locales = find_locales();
|
||||
}
|
||||
|
||||
# if defined(EXITFREE) || defined(PROTO)
|
||||
# if defined(EXITFREE)
|
||||
void
|
||||
free_locales(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user