state.h
Go to the documentation of this file.
1 #ifndef NVIM_STATE_H
2 #define NVIM_STATE_H
3 
4 #include <stddef.h>
5 
6 typedef struct vim_state VimState;
7 
8 typedef int(*state_check_callback)(VimState *state);
9 typedef int(*state_execute_callback)(VimState *state, int key);
10 
11 struct vim_state {
14 };
15 
16 #ifdef INCLUDE_GENERATED_DECLARATIONS
17 # include "state.h.generated.h"
18 #endif
19 
20 #endif // NVIM_STATE_H
Definition: state.h:11
int(* state_execute_callback)(VimState *state, int key)
Definition: state.h:9
state_execute_callback execute
Definition: state.h:13
int(* state_check_callback)(VimState *state)
Definition: state.h:8
state_check_callback check
Definition: state.h:12