Mercurial > vim
annotate src/proto.h @ 11866:be40c8a9240d v8.0.0813
patch 8.0.0813: cannot use a terminal window while the job is running
commit https://github.com/vim/vim/commit/423802d1a282df35078539970eabf559186e1ec8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 30 16:52:24 2017 +0200
patch 8.0.0813: cannot use a terminal window while the job is running
Problem: Cannot use Vim commands in a terminal window while the job is
running.
Solution: Implement Terminal Normal mode.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 30 Jul 2017 17:00:04 +0200 |
parents | 7791a15353dc |
children | 351cf7c67bbe |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
9583
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 */ | |
8 | |
9 /* | |
10 * proto.h: include the (automatically generated) function prototypes | |
11 */ | |
12 | |
13 /* | |
14 * Don't include these while generating prototypes. Prevents problems when | |
15 * files are missing. | |
16 */ | |
17 #if !defined(PROTO) && !defined(NOPROTO) | |
18 | |
19 /* | |
20 * Machine-dependent routines. | |
21 */ | |
22 /* avoid errors in function prototypes */ | |
573 | 23 # if !defined(FEAT_X11) && !defined(FEAT_GUI_GTK) |
7 | 24 # define Display int |
25 # define Widget int | |
26 # endif | |
27 # ifndef FEAT_GUI_GTK | |
28 # define GdkEvent int | |
29 # define GdkEventKey int | |
30 # endif | |
31 # ifndef FEAT_X11 | |
32 # define XImage int | |
33 # endif | |
34 | |
35 # ifdef AMIGA | |
36 # include "os_amiga.pro" | |
37 # endif | |
9536
b2aada04d84e
commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
38 # if defined(UNIX) || defined(VMS) |
7 | 39 # include "os_unix.pro" |
40 # endif | |
41 # ifdef WIN3264 | |
42 # include "os_win32.pro" | |
43 # include "os_mswin.pro" | |
4168 | 44 # include "winclip.pro" |
7 | 45 # if (defined(__GNUC__) && !defined(__MINGW32__)) \ |
46 || (defined(__BORLANDC__) && __BORLANDC__ < 0x502) | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
47 extern int _stricoll(char *a, char *b); |
7 | 48 # endif |
49 # endif | |
50 # ifdef VMS | |
51 # include "os_vms.pro" | |
52 # endif | |
53 # ifdef __BEOS__ | |
54 # include "os_beos.pro" | |
55 # endif | |
56 # ifdef __QNX__ | |
57 # include "os_qnx.pro" | |
58 # endif | |
59 | |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
60 # ifdef FEAT_CRYPT |
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
61 # include "blowfish.pro" |
6122 | 62 # include "crypt.pro" |
63 # include "crypt_zip.pro" | |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
64 # endif |
7 | 65 # include "buffer.pro" |
66 # include "charset.pro" | |
67 # ifdef FEAT_CSCOPE | |
68 # include "if_cscope.pro" | |
69 # endif | |
9558
b591a350f190
commit https://github.com/vim/vim/commit/1abc52c1599fede69b4e76ffde0e879d6fb5080a
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
70 # include "dict.pro" |
7 | 71 # include "diff.pro" |
72 # include "digraph.pro" | |
73 # include "edit.pro" | |
74 # include "eval.pro" | |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9562
diff
changeset
|
75 # include "evalfunc.pro" |
7 | 76 # include "ex_cmds.pro" |
77 # include "ex_cmds2.pro" | |
78 # include "ex_docmd.pro" | |
79 # include "ex_eval.pro" | |
80 # include "ex_getln.pro" | |
81 # include "fileio.pro" | |
82 # include "fold.pro" | |
83 # include "getchar.pro" | |
84 # ifdef FEAT_HANGULIN | |
85 # include "hangulin.pro" | |
86 # endif | |
440 | 87 # include "hardcopy.pro" |
799 | 88 # include "hashtab.pro" |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
6122
diff
changeset
|
89 # include "json.pro" |
9560
1e68dfd7931b
commit https://github.com/vim/vim/commit/da861d631d7e22654faee2789286c685ad548911
Christian Brabandt <cb@256bit.org>
parents:
9558
diff
changeset
|
90 # include "list.pro" |
7 | 91 # include "main.pro" |
92 # include "mark.pro" | |
93 # include "memfile.pro" | |
94 # include "memline.pro" | |
95 # ifdef FEAT_MENU | |
96 # include "menu.pro" | |
97 # endif | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
98 # ifdef FEAT_FKMAP |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
99 # include "farsi.pro" |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
100 # endif |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
101 # ifdef FEAT_ARABIC |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
102 # include "arabic.pro" |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
103 # endif |
272 | 104 |
7838
cfed0e9f0ca2
commit https://github.com/vim/vim/commit/ba4ef2757cfc126f342b710f1ad9ea39e6b56cec
Christian Brabandt <cb@256bit.org>
parents:
7807
diff
changeset
|
105 /* These prototypes cannot be produced automatically. */ |
272 | 106 int |
107 # ifdef __BORLANDC__ | |
108 _RTLENTRYF | |
109 # endif | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
110 smsg(char_u *, ...); |
2280
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
111 |
272 | 112 int |
113 # ifdef __BORLANDC__ | |
114 _RTLENTRYF | |
115 # endif | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
116 smsg_attr(int, char_u *, ...); |
2280
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
117 |
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
118 int |
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
119 # ifdef __BORLANDC__ |
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
120 _RTLENTRYF |
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
121 # endif |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
122 vim_snprintf_add(char *, size_t, char *, ...); |
2280
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
123 |
272 | 124 int |
125 # ifdef __BORLANDC__ | |
126 _RTLENTRYF | |
127 # endif | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
128 vim_snprintf(char *, size_t, char *, ...); |
2280
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
129 |
11653
67cf0d45b006
patch 8.0.0709: libvterm cannot use vsnprintf()
Christian Brabandt <cb@256bit.org>
parents:
11621
diff
changeset
|
130 int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap); |
67cf0d45b006
patch 8.0.0709: libvterm cannot use vsnprintf()
Christian Brabandt <cb@256bit.org>
parents:
11621
diff
changeset
|
131 int vim_vsnprintf_typval(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs); |
272 | 132 |
7 | 133 # include "message.pro" |
134 # include "misc1.pro" | |
135 # include "misc2.pro" | |
136 #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */ | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
137 char_u *vim_strpbrk(char_u *s, char_u *charset); |
7 | 138 #endif |
139 #ifndef HAVE_QSORT | |
140 /* Use our own qsort(), don't define the prototype when not used. */ | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
141 void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *)); |
7 | 142 #endif |
143 # include "move.pro" | |
144 # if defined(FEAT_MBYTE) || defined(FEAT_XIM) || defined(FEAT_KEYMAP) \ | |
145 || defined(FEAT_POSTSCRIPT) | |
146 # include "mbyte.pro" | |
147 # endif | |
148 # include "normal.pro" | |
149 # include "ops.pro" | |
150 # include "option.pro" | |
799 | 151 # include "popupmnu.pro" |
152 # ifdef FEAT_QUICKFIX | |
153 # include "quickfix.pro" | |
154 # endif | |
7 | 155 # include "regexp.pro" |
156 # include "screen.pro" | |
2265
b7cb69ab616d
Added salt to blowfish encryption.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
157 # if defined(FEAT_CRYPT) || defined(FEAT_PERSISTENT_UNDO) |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
158 # include "sha256.pro" |
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
159 # endif |
7 | 160 # include "search.pro" |
220 | 161 # include "spell.pro" |
9583
b0c7061d6439
commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents:
9571
diff
changeset
|
162 # include "spellfile.pro" |
7 | 163 # include "syntax.pro" |
164 # include "tag.pro" | |
165 # include "term.pro" | |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
166 # ifdef FEAT_TERMINAL |
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
167 # include "terminal.pro" |
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
168 # endif |
7 | 169 # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS)) |
170 # include "termlib.pro" | |
171 # endif | |
172 # include "ui.pro" | |
173 # include "undo.pro" | |
9562
86af4a48c00a
commit https://github.com/vim/vim/commit/a9b579f3d7463720a316e11e77a7a9fbb9267986
Christian Brabandt <cb@256bit.org>
parents:
9560
diff
changeset
|
174 # include "userfunc.pro" |
7 | 175 # include "version.pro" |
176 # include "window.pro" | |
177 | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2310
diff
changeset
|
178 # ifdef FEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2310
diff
changeset
|
179 # include "if_lua.pro" |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2310
diff
changeset
|
180 # endif |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2310
diff
changeset
|
181 |
14 | 182 # ifdef FEAT_MZSCHEME |
183 # include "if_mzsch.pro" | |
184 # endif | |
185 | |
7 | 186 # ifdef FEAT_PYTHON |
187 # include "if_python.pro" | |
188 # endif | |
189 | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
190 # ifdef FEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
191 # include "if_python3.pro" |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
192 # endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
193 |
7 | 194 # ifdef FEAT_TCL |
195 # include "if_tcl.pro" | |
196 # endif | |
197 | |
198 # ifdef FEAT_RUBY | |
199 # include "if_ruby.pro" | |
200 # endif | |
201 | |
2209
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
202 /* Ugly solution for "BalloonEval" not being defined while it's used in some |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
203 * .pro files. */ |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
204 # ifndef FEAT_BEVAL |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
205 # define BalloonEval int |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
206 # endif |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
207 |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
208 # ifdef FEAT_NETBEANS_INTG |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
209 # include "netbeans.pro" |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
210 # endif |
8493
caed4b2d305f
commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents:
8212
diff
changeset
|
211 # ifdef FEAT_JOB_CHANNEL |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
212 # include "channel.pro" |
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
213 # endif |
2209
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
214 |
11737
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
215 # if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL) |
7 | 216 # if defined(UNIX) || defined(MACOS) |
217 # include "pty.pro" | |
218 # endif | |
11737
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
219 # endif |
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
220 |
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
221 # ifdef FEAT_GUI |
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
222 # include "gui.pro" |
7 | 223 # if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) && !defined(VMS) |
11737
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
224 extern int putenv(const char *string); /* in misc2.c */ |
7 | 225 # ifdef USE_VIMPTY_GETENV |
11737
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
226 extern char_u *vimpty_getenv(const char_u *string); /* in misc2.c */ |
7 | 227 # endif |
228 # endif | |
229 # ifdef FEAT_GUI_W32 | |
230 # include "gui_w32.pro" | |
231 # endif | |
232 # ifdef FEAT_GUI_GTK | |
233 # include "gui_gtk.pro" | |
234 # include "gui_gtk_x11.pro" | |
235 # endif | |
236 # ifdef FEAT_GUI_MOTIF | |
237 # include "gui_motif.pro" | |
44 | 238 # include "gui_xmdlg.pro" |
7 | 239 # endif |
240 # ifdef FEAT_GUI_ATHENA | |
241 # include "gui_athena.pro" | |
242 # ifdef FEAT_BROWSE | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
243 extern char *vim_SelFile(Widget toplevel, char *prompt, char *init_path, int (*show_entry)(), int x, int y, guicolor_T fg, guicolor_T bg, guicolor_T scroll_fg, guicolor_T scroll_bg); |
7 | 244 # endif |
245 # endif | |
246 # ifdef FEAT_GUI_MAC | |
247 # include "gui_mac.pro" | |
248 # endif | |
249 # ifdef FEAT_GUI_X11 | |
250 # include "gui_x11.pro" | |
251 # endif | |
252 # ifdef FEAT_GUI_PHOTON | |
253 # include "gui_photon.pro" | |
254 # endif | |
255 # ifdef FEAT_SUN_WORKSHOP | |
256 # include "workshop.pro" | |
257 # endif | |
258 # endif /* FEAT_GUI */ | |
259 | |
260 # ifdef FEAT_OLE | |
261 # include "if_ole.pro" | |
262 # endif | |
263 # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11) | |
264 # include "if_xcmdsrv.pro" | |
265 # endif | |
266 | |
267 /* | |
539 | 268 * The perl include files pollute the namespace, therefore proto.h must be |
7 | 269 * included before the perl include files. But then CV is not defined, which |
270 * is used in if_perl.pro. To get around this, the perl prototype files are | |
271 * not included here for the perl files. Use a dummy define for CV for the | |
272 * other files. | |
273 */ | |
274 #if defined(FEAT_PERL) && !defined(IN_PERL_FILE) | |
275 # define CV void | |
276 # ifdef __BORLANDC__ | |
127 | 277 #pragma option -pc |
7 | 278 # endif |
279 # include "if_perl.pro" | |
280 # ifdef __BORLANDC__ | |
127 | 281 #pragma option -p. |
7 | 282 # endif |
283 # include "if_perlsfio.pro" | |
284 #endif | |
285 | |
763 | 286 #ifdef MACOS_CONVERT |
501 | 287 # include "os_mac_conv.pro" |
288 #endif | |
2310
3e4574a4b627
Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents:
2280
diff
changeset
|
289 #if defined(MACOS_X_UNIX) && defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI) |
3e4574a4b627
Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents:
2280
diff
changeset
|
290 /* functions in os_macosx.m */ |
3e4574a4b627
Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents:
2280
diff
changeset
|
291 void clip_mch_lose_selection(VimClipboard *cbd); |
3e4574a4b627
Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents:
2280
diff
changeset
|
292 int clip_mch_own_selection(VimClipboard *cbd); |
3e4574a4b627
Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents:
2280
diff
changeset
|
293 void clip_mch_request_selection(VimClipboard *cbd); |
3e4574a4b627
Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents:
2280
diff
changeset
|
294 void clip_mch_set_selection(VimClipboard *cbd); |
3e4574a4b627
Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents:
2280
diff
changeset
|
295 #endif |
501 | 296 |
7 | 297 #ifdef __BORLANDC__ |
298 # define _PROTO_H | |
299 #endif | |
300 #endif /* !PROTO && !NOPROTO */ |