annotate src/proto.h @ 5690:40f18a1c1592 v7.4.191

updated for version 7.4.191 Problem: Escaping a file name for shell commands can't be done without a function. Solution: Add the :S file name modifier.
author Bram Moolenaar <bram@vim.org>
date Sun, 23 Feb 2014 23:39:13 +0100
parents ff193256398a
children 18ac55444b37
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* vi:set ts=8 sts=4 sw=4:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 * proto.h: include the (automatically generated) function prototypes
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 * Don't include these while generating prototypes. Prevents problems when
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 * files are missing.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 #if !defined(PROTO) && !defined(NOPROTO)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 * Machine-dependent routines.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 /* avoid errors in function prototypes */
573
c85bf6a4999b updated for version 7.0163
vimboss
parents: 539
diff changeset
23 # if !defined(FEAT_X11) && !defined(FEAT_GUI_GTK)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 # define Display int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 # define Widget int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 # ifndef FEAT_GUI_GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 # define GdkEvent int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 # define GdkEventKey int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 # ifndef FEAT_X11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 # define XImage int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 # ifdef AMIGA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 # include "os_amiga.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 # if defined(UNIX) || defined(__EMX__) || defined(VMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 # include "os_unix.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 # if defined(MSDOS) || defined(WIN16)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 # include "os_msdos.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 # ifdef WIN16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 typedef LPSTR LPWSTR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 typedef LPCSTR LPCWSTR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 typedef int LPBOOL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 # include "os_win16.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 # include "os_mswin.pro"
4168
ff193256398a updated for version 7.3.836
Bram Moolenaar <bram@vim.org>
parents: 2823
diff changeset
50 # include "winclip.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 # ifdef WIN3264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 # include "os_win32.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 # include "os_mswin.pro"
4168
ff193256398a updated for version 7.3.836
Bram Moolenaar <bram@vim.org>
parents: 2823
diff changeset
55 # include "winclip.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 # if (defined(__GNUC__) && !defined(__MINGW32__)) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 || (defined(__BORLANDC__) && __BORLANDC__ < 0x502)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 extern int _stricoll __ARGS((char *a, char *b));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 # ifdef VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 # include "os_vms.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 # ifdef __BEOS__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 # include "os_beos.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 # ifdef __QNX__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 # include "os_qnx.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
71 # ifdef FEAT_CRYPT
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
72 # include "blowfish.pro"
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
73 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 # include "buffer.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 # include "charset.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 # ifdef FEAT_CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 # include "if_cscope.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 # include "diff.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 # include "digraph.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 # include "edit.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 # include "eval.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 # include "ex_cmds.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 # include "ex_cmds2.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 # include "ex_docmd.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 # include "ex_eval.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 # include "ex_getln.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 # include "fileio.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 # include "fold.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 # include "getchar.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 # ifdef FEAT_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 # include "hangulin.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 # endif
440
eb531146be0e updated for version 7.0114
vimboss
parents: 272
diff changeset
94 # include "hardcopy.pro"
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
95 # include "hashtab.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 # include "main.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 # include "mark.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 # include "memfile.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 # include "memline.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 # ifdef FEAT_MENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 # include "menu.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 # endif
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
103
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
104 # if !defined MESSAGE_FILE || defined(HAVE_STDARG_H)
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
105 /* These prototypes cannot be produced automatically and conflict with
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
106 * the old-style prototypes in message.c. */
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
107 int
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
108 # ifdef __BORLANDC__
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
109 _RTLENTRYF
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
110 # endif
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
111 smsg __ARGS((char_u *, ...));
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
112
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
113 int
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
114 # ifdef __BORLANDC__
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
115 _RTLENTRYF
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
116 # endif
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
117 smsg_attr __ARGS((int, char_u *, ...));
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
118
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
119 int
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
120 # ifdef __BORLANDC__
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
121 _RTLENTRYF
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
122 # endif
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
123 vim_snprintf_add __ARGS((char *, size_t, char *, ...));
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
124
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
125 int
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
126 # ifdef __BORLANDC__
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
127 _RTLENTRYF
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
128 # endif
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
129 vim_snprintf __ARGS((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
130
451
f6b8170c9c9b updated for version 7.0120
vimboss
parents: 449
diff changeset
131 # if defined(HAVE_STDARG_H)
449
3709cf52b9b5 updated for version 7.0119
vimboss
parents: 440
diff changeset
132 int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs);
451
f6b8170c9c9b updated for version 7.0120
vimboss
parents: 449
diff changeset
133 # endif
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
134 # endif
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
135
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 # include "message.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 # include "misc1.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 # include "misc2.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 char_u *vim_strpbrk __ARGS((char_u *s, char_u *charset));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 #ifndef HAVE_QSORT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 /* Use our own qsort(), don't define the prototype when not used. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 void qsort __ARGS((void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *)));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 # include "move.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 # if defined(FEAT_MBYTE) || defined(FEAT_XIM) || defined(FEAT_KEYMAP) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 || defined(FEAT_POSTSCRIPT)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 # include "mbyte.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 # include "normal.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 # include "ops.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 # include "option.pro"
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
154 # include "popupmnu.pro"
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
155 # ifdef FEAT_QUICKFIX
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
156 # include "quickfix.pro"
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
157 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 # include "regexp.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 # include "screen.pro"
2265
b7cb69ab616d Added salt to blowfish encryption.
Bram Moolenaar <bram@vim.org>
parents: 2209
diff changeset
160 # 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
161 # include "sha256.pro"
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
162 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 # include "search.pro"
220
01e77186b20a updated for version 7.0062
vimboss
parents: 127
diff changeset
164 # include "spell.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 # include "syntax.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 # include "tag.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 # include "term.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 # include "termlib.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 # include "ui.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 # include "undo.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 # include "version.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 # include "window.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
176 # ifdef FEAT_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
177 # include "if_lua.pro"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
178 # endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
179
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
180 # ifdef FEAT_MZSCHEME
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
181 # include "if_mzsch.pro"
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
182 # endif
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
183
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 # ifdef FEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 # include "if_python.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
188 # ifdef FEAT_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
189 # include "if_python3.pro"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
190 # endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
191
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 # ifdef FEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 # include "if_tcl.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 # ifdef FEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 # include "if_ruby.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199
2209
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
200 /* 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
201 * .pro files. */
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
202 # ifndef FEAT_BEVAL
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
203 # define BalloonEval int
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
204 # endif
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
205
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
206 # ifdef FEAT_NETBEANS_INTG
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
207 # include "netbeans.pro"
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
208 # endif
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
209
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 # ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 # include "gui.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 # if defined(UNIX) || defined(MACOS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 # include "pty.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 # if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) && !defined(VMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 extern int putenv __ARGS((const char *string)); /* from pty.c */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 # ifdef USE_VIMPTY_GETENV
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 extern char_u *vimpty_getenv __ARGS((const char_u *string)); /* from pty.c */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 # ifdef FEAT_GUI_W16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 # include "gui_w16.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 # ifdef FEAT_GUI_W32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 # include "gui_w32.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 # ifdef FEAT_GUI_GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 # include "gui_gtk.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 # include "gui_gtk_x11.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 # ifdef FEAT_GUI_MOTIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 # include "gui_motif.pro"
44
af1bcb9a13c0 updated for version 7.0027
vimboss
parents: 14
diff changeset
233 # include "gui_xmdlg.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 # ifdef FEAT_GUI_ATHENA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 # include "gui_athena.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 # ifdef FEAT_BROWSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 extern char *vim_SelFile __ARGS((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));
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 # ifdef FEAT_GUI_MAC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 # include "gui_mac.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 # ifdef FEAT_GUI_X11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 # include "gui_x11.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 # ifdef FEAT_GUI_PHOTON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 # include "gui_photon.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 # ifdef FEAT_SUN_WORKSHOP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 # include "workshop.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 # endif /* FEAT_GUI */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 # ifdef FEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 # include "if_ole.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 # include "if_xcmdsrv.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 /*
539
b13dbb7b797c updated for version 7.0153
vimboss
parents: 501
diff changeset
263 * The perl include files pollute the namespace, therefore proto.h must be
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 * included before the perl include files. But then CV is not defined, which
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 * is used in if_perl.pro. To get around this, the perl prototype files are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 * not included here for the perl files. Use a dummy define for CV for the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 * other files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 #if defined(FEAT_PERL) && !defined(IN_PERL_FILE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 # define CV void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 # ifdef __BORLANDC__
127
616289ecb7c8 updated for version 7.0044
vimboss
parents: 119
diff changeset
272 #pragma option -pc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 # include "if_perl.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 # ifdef __BORLANDC__
127
616289ecb7c8 updated for version 7.0044
vimboss
parents: 119
diff changeset
276 #pragma option -p.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 # include "if_perlsfio.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280
763
fa0447b7a8a0 updated for version 7.0225
vimboss
parents: 573
diff changeset
281 #ifdef MACOS_CONVERT
501
ce2181d14aa0 updated for version 7.0139
vimboss
parents: 451
diff changeset
282 # include "os_mac_conv.pro"
ce2181d14aa0 updated for version 7.0139
vimboss
parents: 451
diff changeset
283 #endif
2310
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
284 #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
285 /* functions in os_macosx.m */
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
286 void clip_mch_lose_selection(VimClipboard *cbd);
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
287 int clip_mch_own_selection(VimClipboard *cbd);
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
288 void clip_mch_request_selection(VimClipboard *cbd);
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
289 void clip_mch_set_selection(VimClipboard *cbd);
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
290 #endif
501
ce2181d14aa0 updated for version 7.0139
vimboss
parents: 451
diff changeset
291
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 #ifdef __BORLANDC__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 # define _PROTO_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 #endif /* !PROTO && !NOPROTO */