Mercurial > vim
annotate src/workshop.h @ 15470:55ccc2d353bd v8.1.0743
patch 8.1.0743: giving error messages is not flexible
commit https://github.com/vim/vim/commit/f9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 13 23:38:42 2019 +0100
patch 8.1.0743: giving error messages is not flexible
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jan 2019 23:45:08 +0100 |
parents | 4aead6a9b7a9 |
children |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * Visual Workshop integration by Gordon Prieur | |
5 * | |
6 * Do ":help uganda" in Vim to read copying and usage conditions. | |
7 * Do ":help credits" in Vim to see a list of people who contributed. | |
8 */ | |
9 | |
10 #if !defined(WORKSHOP_H) && defined(FEAT_SUN_WORKSHOP) | |
11 #define WORKSHOP_H | |
12 | |
13 #include <X11/Intrinsic.h> | |
14 #include <Xm/Xm.h> | |
15 | |
16 #include "integration.h" | |
17 | |
18 #ifdef WSDEBUG | |
19 # include "wsdebug.h" | |
20 #else | |
21 # ifndef ASSERT | |
22 # define ASSERT(c) | |
23 # endif | |
24 #endif | |
25 | |
26 extern int usingSunWorkShop; /* set if -ws flag is used */ | |
27 | |
28 #endif |