mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
vim-patch:8.0.0074
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
95f096030e
Signed-off-by: Michael Schupikov <michael@schupikov.de>
This commit is contained in:

committed by
James McCoy

parent
6ff13d78b7
commit
d5bce42b52
@@ -49,6 +49,15 @@
|
||||
/// Like #EMSG, but for messages with one "%" PRIu64 inside
|
||||
#define EMSGU(s, n) emsgf((const char *) (s), (uint64_t)(n))
|
||||
|
||||
/// Like #EMSG, but for internal messages
|
||||
#define IEMSG(s) iemsg((const char *)(s))
|
||||
|
||||
/// Like #EMSG2, but for internal messages
|
||||
#define IEMSG2(s, p) iemsgf((const char *)(s), (p))
|
||||
|
||||
/// Like #EMSGN, but for internal messages
|
||||
#define IEMSGN(s, n) iemsgf((const char *)(s), (int64_t)(n))
|
||||
|
||||
/// Display message at the recorded position
|
||||
#define MSG_PUTS(s) msg_puts((const char *)(s))
|
||||
|
||||
|
Reference in New Issue
Block a user