comparison src/macros.h @ 8247:6ee794dc950e v7.4.1416

commit https://github.com/vim/vim/commit/669cac0a805333e69b9e1176425083914eada659 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 25 15:25:03 2016 +0100 patch 7.4.1416 Problem: Using "u_char" intead of "char_u", which doesn't work everywhere. (J?rg Plate) Solution: Use "char_u" always.
author Christian Brabandt <cb@256bit.org>
date Thu, 25 Feb 2016 15:30:05 +0100
parents 05b88224cea1
children 6ae3fb4fe7c1
comparison
equal deleted inserted replaced
8246:f16bfe02cef1 8247:6ee794dc950e
117 # define ASCII_ISALPHA(c) (ASCII_ISUPPER(c) || ASCII_ISLOWER(c)) 117 # define ASCII_ISALPHA(c) (ASCII_ISUPPER(c) || ASCII_ISLOWER(c))
118 # define ASCII_ISALNUM(c) (ASCII_ISALPHA(c) || VIM_ISDIGIT(c)) 118 # define ASCII_ISALNUM(c) (ASCII_ISALPHA(c) || VIM_ISDIGIT(c))
119 #endif 119 #endif
120 120
121 /* Returns empty string if it is NULL. */ 121 /* Returns empty string if it is NULL. */
122 #define EMPTY_IF_NULL(x) ((x) ? (x) : (u_char *)"") 122 #define EMPTY_IF_NULL(x) ((x) ? (x) : (char_u *)"")
123 123
124 #ifdef FEAT_LANGMAP 124 #ifdef FEAT_LANGMAP
125 /* 125 /*
126 * Adjust chars in a language according to 'langmap' option. 126 * Adjust chars in a language according to 'langmap' option.
127 * NOTE that there is no noticeable overhead if 'langmap' is not set. 127 * NOTE that there is no noticeable overhead if 'langmap' is not set.