Skip to content
Newer
Older
100644 257 lines (243 sloc) 5.95 KB
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
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 Jun 30, 2004
23 # if !defined(FEAT_X11) && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_KDE)
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
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 Jan 19, 2005
95 # include "hashtable.pro"
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
96 # include "main.pro"
97 # include "mark.pro"
98 # if !defined MESSAGE_FILE || defined(HAVE_STDARG_H)
99 /* These prototypes cannot be produced automatically and conflict with
100 * the old-style prototypes in message.c. */
101 int
102 #ifdef __BORLANDC__
103 _RTLENTRYF
104 #endif
105 smsg __ARGS((char_u *, ...));
106 int
107 #ifdef __BORLANDC__
108 _RTLENTRYF
109 #endif
110 smsg_attr __ARGS((int, char_u *, ...));
111 # endif
112 # include "memfile.pro"
113 # include "memline.pro"
114 # ifdef FEAT_MENU
115 # include "menu.pro"
116 # endif
117 # include "message.pro"
118 # include "misc1.pro"
119 # include "misc2.pro"
120 #ifndef HAVE_STRPBRK /* not generated automatically from misc2.c */
121 char_u *vim_strpbrk __ARGS((char_u *s, char_u *charset));
122 #endif
123 #ifndef HAVE_QSORT
124 /* Use our own qsort(), don't define the prototype when not used. */
125 void qsort __ARGS((void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *)));
126 #endif
127 # include "move.pro"
128 # if defined(FEAT_MBYTE) || defined(FEAT_XIM) || defined(FEAT_KEYMAP) \
129 || defined(FEAT_POSTSCRIPT)
130 # include "mbyte.pro"
131 # endif
132 # include "normal.pro"
133 # include "ops.pro"
134 # include "option.pro"
135 # include "quickfix.pro"
136 # include "regexp.pro"
137 # include "screen.pro"
138 # include "search.pro"
0570270 updated for version 7.0062
vimboss authored Mar 20, 2005
139 # include "spell.pro"
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
140 # include "syntax.pro"
141 # include "tag.pro"
142 # include "term.pro"
143 # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
144 # include "termlib.pro"
145 # endif
146 # include "ui.pro"
147 # include "undo.pro"
148 # include "version.pro"
149 # include "window.pro"
150
5057849 updated for version 7.0006
vimboss authored Jul 5, 2004
151 # ifdef FEAT_MZSCHEME
152 # include "if_mzsch.pro"
153 # endif
154
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
155 # ifdef FEAT_PYTHON
156 # include "if_python.pro"
157 # endif
158
159 # ifdef FEAT_TCL
160 # include "if_tcl.pro"
161 # endif
162
163 # ifdef FEAT_RUBY
164 # include "if_ruby.pro"
165 # endif
166
167 # ifdef FEAT_GUI
168 # include "gui.pro"
169 # if defined(UNIX) || defined(MACOS)
170 # include "pty.pro"
171 # endif
172 # if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) && !defined(VMS)
173 extern int putenv __ARGS((const char *string)); /* from pty.c */
174 # ifdef USE_VIMPTY_GETENV
175 extern char_u *vimpty_getenv __ARGS((const char_u *string)); /* from pty.c */
176 # endif
177 # endif
178 # ifdef FEAT_GUI_W16
179 # include "gui_w16.pro"
180 # endif
181 /* Ugly solution for "BalloonEval" not being defined while it's used in
182 * the prototypes. */
183 # ifndef FEAT_BEVAL
184 # define BalloonEval int
185 # endif
186 # ifdef FEAT_GUI_W32
187 # include "gui_w32.pro"
188 # endif
5c3784f updated for version 7.0003
vimboss authored Jun 30, 2004
189 # ifdef FEAT_GUI_KDE
190 # include "gui_kde.pro"
191 # include "gui_kde_x11.pro"
192 # endif
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
193 # ifdef FEAT_GUI_GTK
194 # include "gui_gtk.pro"
195 # include "gui_gtk_x11.pro"
196 # endif
197 # ifdef FEAT_GUI_MOTIF
198 # include "gui_motif.pro"
0469e88 updated for version 7.0027
vimboss authored Dec 31, 2004
199 # include "gui_xmdlg.pro"
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
200 # endif
201 # ifdef FEAT_GUI_ATHENA
202 # include "gui_athena.pro"
203 # ifdef FEAT_BROWSE
204 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));
205 # endif
206 # endif
207 # ifdef FEAT_GUI_MAC
208 # include "gui_mac.pro"
209 # endif
210 # ifdef FEAT_GUI_X11
211 # include "gui_x11.pro"
212 # endif
213 # ifdef RISCOS
214 # include "gui_riscos.pro"
215 # endif
216 # ifdef FEAT_GUI_PHOTON
217 # include "gui_photon.pro"
218 # endif
219 # ifdef FEAT_SUN_WORKSHOP
220 # include "workshop.pro"
221 # endif
222 # ifdef FEAT_NETBEANS_INTG
223 # include "netbeans.pro"
224 # endif
225 # endif /* FEAT_GUI */
226
227 # ifdef FEAT_OLE
228 # include "if_ole.pro"
229 # endif
230 # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
231 # include "if_xcmdsrv.pro"
232 # endif
233
234 /*
235 * The perl include files pollute the namespace, therfore proto.h must be
236 * included before the perl include files. But then CV is not defined, which
237 * is used in if_perl.pro. To get around this, the perl prototype files are
238 * not included here for the perl files. Use a dummy define for CV for the
239 * other files.
240 */
241 #if defined(FEAT_PERL) && !defined(IN_PERL_FILE)
242 # define CV void
243 # ifdef __BORLANDC__
6f9fa29 updated for version 7.0044
vimboss authored Jan 25, 2005
244 #pragma option -pc
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
245 # endif
246 # include "if_perl.pro"
247 # ifdef __BORLANDC__
6f9fa29 updated for version 7.0044
vimboss authored Jan 25, 2005
248 #pragma option -p.
e5c6ef7 updated for version 7.0001
vimboss authored Jun 13, 2004
249 # endif
250 # include "if_perlsfio.pro"
251 #endif
252
253 #ifdef __BORLANDC__
254 # define _PROTO_H
255 #endif
256 #endif /* !PROTO && !NOPROTO */
Something went wrong with that request. Please try again.