mirror of
https://github.com/neovim/neovim.git
synced 2025-12-19 04:45:38 +00:00
test(old): emulate test_override('char_avail') using FFI
Add a non-static variable for this, otherwise it'll be really hacky.
This avoid having to rewrite many incsearch tests in Lua.
(cherry picked from commit c925e7b8ba)
This commit is contained in:
committed by
github-actions[bot]
parent
f0f163b267
commit
d1214da08f
@@ -17,6 +17,8 @@ typedef enum {
|
||||
|
||||
enum { NSCRIPT = 15, }; ///< Maximum number of streams to read script from
|
||||
|
||||
EXTERN bool disable_char_avail_for_testing INIT( = false);
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "getchar.h.generated.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user