mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
refactor: move some constants out of vim_defs.h (#26298)
This commit is contained in:
@@ -1,14 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
typedef struct vim_state VimState;
|
||||
|
||||
typedef int (*state_check_callback)(VimState *state);
|
||||
typedef int (*state_execute_callback)(VimState *state, int key);
|
||||
|
||||
struct vim_state {
|
||||
state_check_callback check;
|
||||
state_execute_callback execute;
|
||||
};
|
||||
#include "nvim/state_defs.h" // IWYU pragma: export
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "state.h.generated.h"
|
||||
|
Reference in New Issue
Block a user