diff options
Diffstat (limited to 'src/nvim/types.h')
-rw-r--r-- | src/nvim/types.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nvim/types.h b/src/nvim/types.h new file mode 100644 index 0000000000..14ffd9fbb7 --- /dev/null +++ b/src/nvim/types.h @@ -0,0 +1,19 @@ +/* + * VIM - Vi IMproved by Bram Moolenaar + * + * Do ":help uganda" in Vim to read copying and usage conditions. + * Do ":help credits" in Vim to see a list of people who contributed. + */ + +#ifndef NEOVIM_TYPES_H +#define NEOVIM_TYPES_H + +#include <stdint.h> + +/* + * Shorthand for unsigned variables. Many systems, but not all, have u_char + * already defined, so we use char_u to avoid trouble. + */ +typedef unsigned char char_u; + +#endif /* NEOVIM_TYPES_H */ |