Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 264 lines (248 sloc) 6.204 kb
e5c6ef7 updated for version 7.0001
vimboss authored
1 /* vi:set ts=8 sts=4 sw=4:
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 */
5c3784f updated for version 7.0003
vimboss authored
23 # if !defined(FEAT_X11) && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_KDE)
e5c6ef7 updated for version 7.0001
vimboss authored
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
38 # if defined(UNIX) || defined(__EMX__) || defined(VMS)
39 # include "os_unix.pro"
40 # endif
41 # if defined(MSDOS) || defined(WIN16)
42 # include "os_msdos.pro"
43 # endif
44 # ifdef WIN16
45 typedef LPSTR LPWSTR;
46 typedef LPCSTR LPCWSTR;
47 typedef int LPBOOL;
48 # include "os_win16.pro"
49 # include "os_mswin.pro"
50 # endif
51 # ifdef WIN3264
52 # include "os_win32.pro"
53 # include "os_mswin.pro"
54 # if (defined(__GNUC__) && !defined(__MINGW32__)) \
55 || (defined(__BORLANDC__) && __BORLANDC__ < 0x502)
56 extern int _stricoll __ARGS((char *a, char *b));
57 # endif
58 # endif
59 # ifdef VMS
60 # include "os_vms.pro"
61 # endif
62 # ifdef __BEOS__
63 # include "os_beos.pro"
64 # endif
65 # ifdef MACOS
66 # include "os_mac.pro"
67 # endif
68 # ifdef RISCOS
69 # include "os_riscos.pro"
70 # endif
71 # ifdef __QNX__
72 # include "os_qnx.pro"
73 # endif
74
75 # include "buffer.pro"
76 # include "charset.pro"
77 # ifdef FEAT_CSCOPE
78 # include "if_cscope.pro"
79 # endif
80 # include "diff.pro"
81 # include "digraph.pro"
82 # include "edit.pro"
83 # include "eval.pro"
84 # include "ex_cmds.pro"
85 # include "ex_cmds2.pro"
86 # include "ex_docmd.pro"
87 # include "ex_eval.pro"
88 # include "ex_getln.pro"
89 # include "fileio.pro"
90 # include "fold.pro"
91 # include "getchar.pro"
92 # ifdef FEAT_HANGULIN
93 # include "hangulin.pro"
94 # endif
57cecb3 updated for version 7.0042
vimboss authored
95 # include "hashtable.pro"
e5c6ef7 updated for version 7.0001
vimboss authored
96 # include "main.pro"
97 # include "mark.pro"
058c721 updated for version 7.0073
vimboss authored
98 # include "memfile.pro"
99 # include "memline.pro"
100 # ifdef FEAT_MENU
101 # include "menu.pro"
102 # endif
103
e5c6ef7 updated for version 7.0001
vimboss authored
104 # if !defined MESSAGE_FILE || defined(HAVE_STDARG_H)
105 /* These prototypes cannot be produced automatically and conflict with
106 * the old-style prototypes in message.c. */
107 int
058c721 updated for version 7.0073
vimboss authored
108 # ifdef __BORLANDC__
e5c6ef7 updated for version 7.0001
vimboss authored
109 _RTLENTRYF
058c721 updated for version 7.0073
vimboss authored
110 # endif
e5c6ef7 updated for version 7.0001
vimboss authored
111 smsg __ARGS((char_u *, ...));
112 int
058c721 updated for version 7.0073
vimboss authored
113 # ifdef __BORLANDC__
e5c6ef7 updated for version 7.0001
vimboss authored
114 _RTLENTRYF
058c721 updated for version 7.0073
vimboss authored
115 # endif
e5c6ef7 updated for version 7.0001
vimboss authored
116 smsg_attr __ARGS((int, char_u *, ...));
058c721 updated for version 7.0073
vimboss authored
117 int
118 # ifdef __BORLANDC__
119 _RTLENTRYF
120 # endif
121 vim_snprintf __ARGS((char *, size_t, char *, ...));
e5c6ef7 updated for version 7.0001
vimboss authored
122 # endif
058c721 updated for version 7.0073
vimboss authored
123
e5c6ef7 updated for version 7.0001
vimboss authored
124 # include "message.pro"
125 # include "misc1.pro"
126 # include "misc2.pro"
127 #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */
128 char_u *vim_strpbrk __ARGS((char_u *s, char_u *charset));
129 #endif
130 #ifndef HAVE_QSORT
131 /* Use our own qsort(), don't define the prototype when not used. */
132 void qsort __ARGS((void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *)));
133 #endif
134 # include "move.pro"
135 # if defined(FEAT_MBYTE) || defined(FEAT_XIM) || defined(FEAT_KEYMAP) \
136 || defined(FEAT_POSTSCRIPT)
137 # include "mbyte.pro"
138 # endif
139 # include "normal.pro"
140 # include "ops.pro"
141 # include "option.pro"
142 # include "quickfix.pro"
143 # include "regexp.pro"
144 # include "screen.pro"
145 # include "search.pro"
0570270 updated for version 7.0062
vimboss authored
146 # include "spell.pro"
e5c6ef7 updated for version 7.0001
vimboss authored
147 # include "syntax.pro"
148 # include "tag.pro"
149 # include "term.pro"
150 # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
151 # include "termlib.pro"
152 # endif
153 # include "ui.pro"
154 # include "undo.pro"
155 # include "version.pro"
156 # include "window.pro"
157
5057849 updated for version 7.0006
vimboss authored
158 # ifdef FEAT_MZSCHEME
159 # include "if_mzsch.pro"
160 # endif
161
e5c6ef7 updated for version 7.0001
vimboss authored
162 # ifdef FEAT_PYTHON
163 # include "if_python.pro"
164 # endif
165
166 # ifdef FEAT_TCL
167 # include "if_tcl.pro"
168 # endif
169
170 # ifdef FEAT_RUBY
171 # include "if_ruby.pro"
172 # endif
173
174 # ifdef FEAT_GUI
175 # include "gui.pro"
176 # if defined(UNIX) || defined(MACOS)
177 # include "pty.pro"
178 # endif
179 # if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) && !defined(VMS)
180 extern int putenv __ARGS((const char *string)); /* from pty.c */
181 # ifdef USE_VIMPTY_GETENV
182 extern char_u *vimpty_getenv __ARGS((const char_u *string)); /* from pty.c */
183 # endif
184 # endif
185 # ifdef FEAT_GUI_W16
186 # include "gui_w16.pro"
187 # endif
188 /* Ugly solution for "BalloonEval" not being defined while it's used in
189 * the prototypes. */
190 # ifndef FEAT_BEVAL
191 # define BalloonEval int
192 # endif
193 # ifdef FEAT_GUI_W32
194 # include "gui_w32.pro"
195 # endif
5c3784f updated for version 7.0003
vimboss authored
196 # ifdef FEAT_GUI_KDE
197 # include "gui_kde.pro"
198 # include "gui_kde_x11.pro"
199 # endif
e5c6ef7 updated for version 7.0001
vimboss authored
200 # ifdef FEAT_GUI_GTK
201 # include "gui_gtk.pro"
202 # include "gui_gtk_x11.pro"
203 # endif
204 # ifdef FEAT_GUI_MOTIF
205 # include "gui_motif.pro"
0469e88 updated for version 7.0027
vimboss authored
206 # include "gui_xmdlg.pro"
e5c6ef7 updated for version 7.0001
vimboss authored
207 # endif
208 # ifdef FEAT_GUI_ATHENA
209 # include "gui_athena.pro"
210 # ifdef FEAT_BROWSE
211 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));
212 # endif
213 # endif
214 # ifdef FEAT_GUI_MAC
215 # include "gui_mac.pro"
216 # endif
217 # ifdef FEAT_GUI_X11
218 # include "gui_x11.pro"
219 # endif
220 # ifdef RISCOS
221 # include "gui_riscos.pro"
222 # endif
223 # ifdef FEAT_GUI_PHOTON
224 # include "gui_photon.pro"
225 # endif
226 # ifdef FEAT_SUN_WORKSHOP
227 # include "workshop.pro"
228 # endif
229 # ifdef FEAT_NETBEANS_INTG
230 # include "netbeans.pro"
231 # endif
232 # endif /* FEAT_GUI */
233
234 # ifdef FEAT_OLE
235 # include "if_ole.pro"
236 # endif
237 # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
238 # include "if_xcmdsrv.pro"
239 # endif
240
241 /*
242 * The perl include files pollute the namespace, therfore proto.h must be
243 * included before the perl include files. But then CV is not defined, which
244 * is used in if_perl.pro. To get around this, the perl prototype files are
245 * not included here for the perl files. Use a dummy define for CV for the
246 * other files.
247 */
248 #if defined(FEAT_PERL) && !defined(IN_PERL_FILE)
249 # define CV void
250 # ifdef __BORLANDC__
6f9fa29 updated for version 7.0044
vimboss authored
251 #pragma option -pc
e5c6ef7 updated for version 7.0001
vimboss authored
252 # endif
253 # include "if_perl.pro"
254 # ifdef __BORLANDC__
6f9fa29 updated for version 7.0044
vimboss authored
255 #pragma option -p.
e5c6ef7 updated for version 7.0001
vimboss authored
256 # endif
257 # include "if_perlsfio.pro"
258 #endif
259
260 #ifdef __BORLANDC__
261 # define _PROTO_H
262 #endif
263 #endif /* !PROTO && !NOPROTO */
Something went wrong with that request. Please try again.