diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-03-05 19:03:37 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-05 19:03:37 -0500 |
commit | a06186de41d4051c0fffbb936ae91238ee6c4169 (patch) | |
tree | b0bb27feca64e5c1bff821225c642c42bd94122a /src/nvim/types.h | |
parent | 0dd1ad0760ecdbfeef94da4ef33d71e66eab35b3 (diff) | |
parent | 117bf11e19bc0b23fb8baf79acc44ece9fcc8f2b (diff) | |
download | rneovim-a06186de41d4051c0fffbb936ae91238ee6c4169.tar.gz rneovim-a06186de41d4051c0fffbb936ae91238ee6c4169.tar.bz2 rneovim-a06186de41d4051c0fffbb936ae91238ee6c4169.zip |
Merge #2011 'Macro cleanup'
Diffstat (limited to 'src/nvim/types.h')
-rw-r--r-- | src/nvim/types.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/nvim/types.h b/src/nvim/types.h index a87122d24b..afd684925a 100644 --- a/src/nvim/types.h +++ b/src/nvim/types.h @@ -13,19 +13,11 @@ // dummy to pass an ACL to a function typedef void *vim_acl_T; -/* - * Shorthand for unsigned variables. Many systems, but not all, have u_char - * already defined, so we use char_u to avoid trouble. - */ +// 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; -// The u8char_T can hold one decoded UTF-8 character. We normally use 32 -// bits now, since some Asian characters don't fit in 16 bits. u8char_T is -// only used for displaying, it could be 16 bits to save memory. -#ifdef UNICODE16 -typedef uint16_t u8char_T; -#else +// Can hold one decoded UTF-8 character. typedef uint32_t u8char_T; -#endif -#endif /* NVIM_TYPES_H */ +#endif // NVIM_TYPES_H |