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