mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
#define ASCII_ISALNUM(c) (ASCII_ISALPHA(c) || ascii_isdigit(c))
|
||||
|
||||
// Returns empty string if it is NULL.
|
||||
#define EMPTY_IF_NULL(x) (char *)((x) ? (x) : (char_u *)"")
|
||||
#define EMPTY_IF_NULL(x) ((x) ? (x) : "")
|
||||
|
||||
/// Adjust chars in a language according to 'langmap' option.
|
||||
/// NOTE that there is no noticeable overhead if 'langmap' is not set.
|
||||
|
Reference in New Issue
Block a user