Mercurial > vim
comparison src/vim.h @ 10359:66f1b5bf3fa6 v8.0.0074
commit https://github.com/vim/vim/commit/95f096030ed1a8afea028f2ea295d6f6a70f466f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 10 20:01:45 2016 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 10 Nov 2016 20:15:05 +0100 |
parents | 146abb526e82 |
children | 42911b233245 |
comparison
equal
deleted
inserted
replaced
10358:d85831f406d3 | 10359:66f1b5bf3fa6 |
---|---|
1621 #define EMSG(s) emsg((char_u *)(s)) | 1621 #define EMSG(s) emsg((char_u *)(s)) |
1622 #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | 1622 #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) |
1623 #define EMSG3(s, p, q) emsg3((char_u *)(s), (char_u *)(p), (char_u *)(q)) | 1623 #define EMSG3(s, p, q) emsg3((char_u *)(s), (char_u *)(p), (char_u *)(q)) |
1624 #define EMSGN(s, n) emsgn((char_u *)(s), (long)(n)) | 1624 #define EMSGN(s, n) emsgn((char_u *)(s), (long)(n)) |
1625 #define EMSGU(s, n) emsgu((char_u *)(s), (long_u)(n)) | 1625 #define EMSGU(s, n) emsgu((char_u *)(s), (long_u)(n)) |
1626 #define IEMSG(s) iemsg((char_u *)(s)) | |
1627 #define IEMSG2(s, p) iemsg2((char_u *)(s), (char_u *)(p)) | |
1628 #define IEMSGN(s, n) iemsgn((char_u *)(s), (long)(n)) | |
1626 #define OUT_STR(s) out_str((char_u *)(s)) | 1629 #define OUT_STR(s) out_str((char_u *)(s)) |
1627 #define OUT_STR_NF(s) out_str_nf((char_u *)(s)) | 1630 #define OUT_STR_NF(s) out_str_nf((char_u *)(s)) |
1628 #define MSG_PUTS(s) msg_puts((char_u *)(s)) | 1631 #define MSG_PUTS(s) msg_puts((char_u *)(s)) |
1629 #define MSG_PUTS_ATTR(s, a) msg_puts_attr((char_u *)(s), (a)) | 1632 #define MSG_PUTS_ATTR(s, a) msg_puts_attr((char_u *)(s), (a)) |
1630 #define MSG_PUTS_TITLE(s) msg_puts_title((char_u *)(s)) | 1633 #define MSG_PUTS_TITLE(s) msg_puts_title((char_u *)(s)) |