diff options
author | ZyX <kp-pav@yandex.ru> | 2016-03-07 09:29:38 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2016-04-18 02:48:20 +0300 |
commit | 82f249f8297a26ef3fcb9675acebd76476bb40e4 (patch) | |
tree | b9e9ee303383967b534d9f451d4367dd82047ca8 /src/nvim/message.h | |
parent | 9a56fcb2e8e97dec1e4ebce1d1287e7ab8a6ee79 (diff) | |
download | rneovim-82f249f8297a26ef3fcb9675acebd76476bb40e4.tar.gz rneovim-82f249f8297a26ef3fcb9675acebd76476bb40e4.tar.bz2 rneovim-82f249f8297a26ef3fcb9675acebd76476bb40e4.zip |
message: Remove useless emsg* functions, leaving only emsgf
Diffstat (limited to 'src/nvim/message.h')
-rw-r--r-- | src/nvim/message.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/message.h b/src/nvim/message.h index b69b7264b4..d3a16fff93 100644 --- a/src/nvim/message.h +++ b/src/nvim/message.h @@ -37,17 +37,16 @@ #define EMSG(s) emsg((char_u *)(s)) /// Like #EMSG, but for messages with one "%s" inside -#define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) +#define EMSG2(s, p) emsgf((const char *) (s), (p)) /// Like #EMSG, but for messages with two "%s" inside -#define EMSG3(s, p, q) emsg3((char_u *)(s), (char_u *)(p), \ - (char_u *)(q)) +#define EMSG3(s, p, q) emsgf((const char *) (s), (p), (q)) /// Like #EMSG, but for messages with one "%" PRId64 inside -#define EMSGN(s, n) emsgn((char_u *)(s), (int64_t)(n)) +#define EMSGN(s, n) emsgf((const char *) (s), (int64_t)(n)) /// Like #EMSG, but for messages with one "%" PRIu64 inside -#define EMSGU(s, n) emsgu((char_u *)(s), (uint64_t)(n)) +#define EMSGU(s, n) emsgf((const char *) (s), (uint64_t)(n)) /// Display message at the recorded position #define MSG_PUTS(s) msg_puts((char_u *)(s)) |