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
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "vim.h"
|
||||
|
||||
#if defined(FEAT_SOUND) || defined(PROTO)
|
||||
#if defined(FEAT_SOUND)
|
||||
|
||||
static long sound_id = 0;
|
||||
|
||||
@@ -109,7 +109,7 @@ delete_sound_callback(soundcb_T *soundcb)
|
||||
}
|
||||
}
|
||||
|
||||
# if defined(HAVE_CANBERRA) || defined(PROTO)
|
||||
# if defined(HAVE_CANBERRA)
|
||||
|
||||
/*
|
||||
* Sound implementation for Linux/Unix using libcanberra.
|
||||
@@ -279,7 +279,7 @@ f_sound_clear(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
|
||||
context = NULL;
|
||||
}
|
||||
|
||||
# if defined(EXITFREE) || defined(PROTO)
|
||||
# if defined(EXITFREE)
|
||||
void
|
||||
sound_free(void)
|
||||
{
|
||||
@@ -510,7 +510,7 @@ f_sound_clear(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
|
||||
sound_mch_clear();
|
||||
}
|
||||
|
||||
# if defined(EXITFREE) || defined(PROTO)
|
||||
# if defined(EXITFREE)
|
||||
void
|
||||
sound_free(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user