annotate src/proto.h @ 16029:43b5514f084c

Added tag v8.1.1019 for changeset 8ad2cda3757d62fc27bd7df41de1685e9876d1d9
author Bram Moolenaar <Bram@vim.org>
date Tue, 19 Mar 2019 22:00:07 +0100
parents ac080f6a4db8
children 570a296aa0b4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
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
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
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
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15850
diff changeset
41 # ifdef MSWIN
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 # include "os_win32.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 # include "os_mswin.pro"
4168
ff193256398a updated for version 7.3.836
Bram Moolenaar <bram@vim.org>
parents: 2823
diff changeset
44 # include "winclip.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 # if (defined(__GNUC__) && !defined(__MINGW32__)) \
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 # ifdef VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 # include "os_vms.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 # ifdef __BEOS__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 # include "os_beos.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 # ifdef __QNX__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 # include "os_qnx.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
62 # include "crypt.pro"
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
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
15634
746b95fd25ad patch 8.1.0825: code for autocommands is mixed with file I/O code
Bram Moolenaar <Bram@vim.org>
parents: 15605
diff changeset
65 # include "autocmd.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # include "buffer.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 # include "charset.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 # ifdef FEAT_CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 # include "if_cscope.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 # endif
9558
b591a350f190 commit https://github.com/vim/vim/commit/1abc52c1599fede69b4e76ffde0e879d6fb5080a
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
71 # include "dict.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 # include "diff.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 # include "digraph.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 # include "edit.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 # include "eval.pro"
9571
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9562
diff changeset
76 # include "evalfunc.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 # include "ex_cmds.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 # include "ex_cmds2.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 # include "ex_docmd.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 # include "ex_eval.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 # include "ex_getln.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 # include "fileio.pro"
15814
99ebf78686a9 patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents: 15699
diff changeset
83 # include "findfile.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 # include "fold.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 # include "getchar.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 # ifdef FEAT_HANGULIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 # include "hangulin.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 # endif
440
eb531146be0e updated for version 7.0114
vimboss
parents: 272
diff changeset
89 # include "hardcopy.pro"
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
90 # include "hashtab.pro"
15699
2d941023bd2f patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents: 15634
diff changeset
91 # include "indent.pro"
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 6122
diff changeset
92 # include "json.pro"
9560
1e68dfd7931b commit https://github.com/vim/vim/commit/da861d631d7e22654faee2789286c685ad548911
Christian Brabandt <cb@256bit.org>
parents: 9558
diff changeset
93 # include "list.pro"
15454
1d2b5c016f17 patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents: 15330
diff changeset
94 # include "blob.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 # include "main.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 # include "mark.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 # include "memfile.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 # include "memline.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 # ifdef FEAT_MENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 # include "menu.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 # endif
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
102 # ifdef FEAT_ARABIC
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
103 # include "arabic.pro"
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
104 # endif
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
105
7838
cfed0e9f0ca2 commit https://github.com/vim/vim/commit/ba4ef2757cfc126f342b710f1ad9ea39e6b56cec
Christian Brabandt <cb@256bit.org>
parents: 7807
diff changeset
106 /* These prototypes cannot be produced automatically. */
272
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
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
111 smsg(const char *, ...)
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
112 #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
113 __attribute__((format(printf, 1, 0)))
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
114 #endif
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
115 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
116
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
117 int
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
118 # ifdef __BORLANDC__
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
119 _RTLENTRYF
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
120 # endif
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
121 smsg_attr(int, const char *, ...)
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
122 #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
123 __attribute__((format(printf, 2, 3)))
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
124 #endif
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
125 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
126
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
127 int
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
128 # ifdef __BORLANDC__
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
129 _RTLENTRYF
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
130 # endif
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
131 smsg_attr_keep(int, const char *, ...)
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
132 #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
133 __attribute__((format(printf, 2, 3)))
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
134 #endif
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
135 ;
14237
487d7bda80ea patch 8.1.0135: undo message delays screen update for CTRL-O u
Christian Brabandt <cb@256bit.org>
parents: 13618
diff changeset
136
15896
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
137 /* These prototypes cannot be produced automatically. */
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
138 int
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
139 # ifdef __BORLANDC__
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
140 _RTLENTRYF
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
141 # endif
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
142 semsg(const char *, ...)
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
143 #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
144 __attribute__((format(printf, 1, 0)))
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
145 #endif
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
146 ;
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
147
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
148 /* These prototypes cannot be produced automatically. */
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
149 void
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
150 # ifdef __BORLANDC__
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
151 _RTLENTRYF
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
152 # endif
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
153 siemsg(const char *, ...)
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
154 #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
155 __attribute__((format(printf, 1, 0)))
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
156 #endif
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
157 ;
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
158
14237
487d7bda80ea patch 8.1.0135: undo message delays screen update for CTRL-O u
Christian Brabandt <cb@256bit.org>
parents: 13618
diff changeset
159 int
487d7bda80ea patch 8.1.0135: undo message delays screen update for CTRL-O u
Christian Brabandt <cb@256bit.org>
parents: 13618
diff changeset
160 # ifdef __BORLANDC__
487d7bda80ea patch 8.1.0135: undo message delays screen update for CTRL-O u
Christian Brabandt <cb@256bit.org>
parents: 13618
diff changeset
161 _RTLENTRYF
487d7bda80ea patch 8.1.0135: undo message delays screen update for CTRL-O u
Christian Brabandt <cb@256bit.org>
parents: 13618
diff changeset
162 # endif
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
163 vim_snprintf_add(char *, size_t, const char *, ...)
13618
ea4f2a8040b4 patch 8.0.1681: the format attribute fails with MinGW
Christian Brabandt <cb@256bit.org>
parents: 13610
diff changeset
164 #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
13610
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
165 __attribute__((format(printf, 3, 4)))
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
166 #endif
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
167 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
168
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
169 int
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
170 # ifdef __BORLANDC__
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
171 _RTLENTRYF
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
172 # endif
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
173 vim_snprintf(char *, size_t, const char *, ...)
13618
ea4f2a8040b4 patch 8.0.1681: the format attribute fails with MinGW
Christian Brabandt <cb@256bit.org>
parents: 13610
diff changeset
174 #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
13610
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
175 __attribute__((format(printf, 3, 4)))
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
176 #endif
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
177 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
178
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
179 int vim_vsnprintf(char *str, size_t str_m, const char *fmt, va_list ap);
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
180 int vim_vsnprintf_typval(char *str, size_t str_m, const char *fmt, va_list ap, typval_T *tvs);
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
181
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 # include "message.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 # include "misc1.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 # include "misc2.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 #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
186 char_u *vim_strpbrk(char_u *s, char_u *charset);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 #ifndef HAVE_QSORT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 /* 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
190 void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 # include "move.pro"
15605
62b3805506b3 patch 8.1.0810: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15567
diff changeset
193 # include "mbyte.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 # include "normal.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 # include "ops.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 # include "option.pro"
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
197 # include "popupmnu.pro"
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
198 # ifdef FEAT_QUICKFIX
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
199 # include "quickfix.pro"
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
200 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 # include "regexp.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 # include "screen.pro"
2265
b7cb69ab616d Added salt to blowfish encryption.
Bram Moolenaar <bram@vim.org>
parents: 2209
diff changeset
203 # 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
204 # include "sha256.pro"
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
205 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 # include "search.pro"
15330
a6330a49e036 patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents: 15138
diff changeset
207 # ifdef FEAT_SIGNS
a6330a49e036 patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents: 15138
diff changeset
208 # include "sign.pro"
a6330a49e036 patch 8.1.0673: functionality for signs is spread out over several files
Bram Moolenaar <Bram@vim.org>
parents: 15138
diff changeset
209 # endif
220
01e77186b20a updated for version 7.0062
vimboss
parents: 127
diff changeset
210 # include "spell.pro"
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 9571
diff changeset
211 # include "spellfile.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 # include "syntax.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 # include "tag.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 # include "term.pro"
11621
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
215 # ifdef FEAT_TERMINAL
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
216 # include "terminal.pro"
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
217 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 # include "termlib.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 # endif
15138
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 14237
diff changeset
221 # ifdef FEAT_TEXT_PROP
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 14237
diff changeset
222 # include "textprop.pro"
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 14237
diff changeset
223 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 # include "ui.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 # include "undo.pro"
9562
86af4a48c00a commit https://github.com/vim/vim/commit/a9b579f3d7463720a316e11e77a7a9fbb9267986
Christian Brabandt <cb@256bit.org>
parents: 9560
diff changeset
226 # include "userfunc.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 # include "version.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 # include "window.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
230 # ifdef FEAT_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
231 # include "if_lua.pro"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
232 # endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
233
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
234 # ifdef FEAT_MZSCHEME
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
235 # include "if_mzsch.pro"
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
236 # endif
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
237
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 # ifdef FEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 # include "if_python.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
242 # ifdef FEAT_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
243 # include "if_python3.pro"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
244 # endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
245
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 # ifdef FEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 # include "if_tcl.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 # ifdef FEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 # include "if_ruby.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253
2209
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
254 /* 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
255 * .pro files. */
12889
0ebade0c0ab2 patch 8.0.1321: can't build huge version with Athena
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
256 # ifdef FEAT_BEVAL
0ebade0c0ab2 patch 8.0.1321: can't build huge version with Athena
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
257 # include "beval.pro"
0ebade0c0ab2 patch 8.0.1321: can't build huge version with Athena
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
258 # else
2209
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
259 # define BalloonEval int
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
260 # endif
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
261
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
262 # ifdef FEAT_NETBEANS_INTG
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
263 # include "netbeans.pro"
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
264 # endif
8493
caed4b2d305f commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents: 8212
diff changeset
265 # ifdef FEAT_JOB_CHANNEL
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
266 # include "channel.pro"
13610
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
267
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
268 /* Not generated automatically, to add extra attribute. */
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
269 void ch_log(channel_T *ch, const char *fmt, ...)
13618
ea4f2a8040b4 patch 8.0.1681: the format attribute fails with MinGW
Christian Brabandt <cb@256bit.org>
parents: 13610
diff changeset
270 #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
13610
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
271 __attribute__((format(printf, 2, 3)))
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
272 #endif
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
273 ;
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
274
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
275 # endif
2209
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
276
11737
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
277 # if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL)
15567
c9230ee2b1ad patch 8.1.0791: a few compiler warnings on VMS
Bram Moolenaar <Bram@vim.org>
parents: 15510
diff changeset
278 # if defined(UNIX) || defined(MACOS_X) || defined(VMS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 # include "pty.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 # endif
11737
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
281 # endif
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
282
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
283 # ifdef FEAT_GUI
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
284 # include "gui.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 # 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
286 extern int putenv(const char *string); /* in misc2.c */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 # 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
288 extern char_u *vimpty_getenv(const char_u *string); /* in misc2.c */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 # endif
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15850
diff changeset
291 # ifdef FEAT_GUI_MSWIN
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 # include "gui_w32.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 # ifdef FEAT_GUI_GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 # include "gui_gtk.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 # include "gui_gtk_x11.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 # ifdef FEAT_GUI_MOTIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 # include "gui_motif.pro"
44
af1bcb9a13c0 updated for version 7.0027
vimboss
parents: 14
diff changeset
300 # include "gui_xmdlg.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 # ifdef FEAT_GUI_ATHENA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 # include "gui_athena.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 # ifdef FEAT_BROWSE
7807
1a5d34492798 commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
305 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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 # ifdef FEAT_GUI_MAC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 # include "gui_mac.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 # ifdef FEAT_GUI_X11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 # include "gui_x11.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 # ifdef FEAT_GUI_PHOTON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 # include "gui_photon.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 # endif /* FEAT_GUI */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 # ifdef FEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 # include "if_ole.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 # include "if_xcmdsrv.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 /*
539
b13dbb7b797c updated for version 7.0153
vimboss
parents: 501
diff changeset
327 * The perl include files pollute the namespace, therefore proto.h must be
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 * included before the perl include files. But then CV is not defined, which
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 * 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
330 * 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
331 * other files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 #if defined(FEAT_PERL) && !defined(IN_PERL_FILE)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 # define CV void
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 # ifdef __BORLANDC__
127
616289ecb7c8 updated for version 7.0044
vimboss
parents: 119
diff changeset
336 #pragma option -pc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 # include "if_perl.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 # ifdef __BORLANDC__
127
616289ecb7c8 updated for version 7.0044
vimboss
parents: 119
diff changeset
340 #pragma option -p.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 # include "if_perlsfio.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344
763
fa0447b7a8a0 updated for version 7.0225
vimboss
parents: 573
diff changeset
345 #ifdef MACOS_CONVERT
501
ce2181d14aa0 updated for version 7.0139
vimboss
parents: 451
diff changeset
346 # include "os_mac_conv.pro"
ce2181d14aa0 updated for version 7.0139
vimboss
parents: 451
diff changeset
347 #endif
12716
351cf7c67bbe patch 8.0.1236: Mac features are confusing
Christian Brabandt <cb@256bit.org>
parents: 11737
diff changeset
348 #if defined(MACOS_X_DARWIN) && defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
2310
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
349 /* functions in os_macosx.m */
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
350 void clip_mch_lose_selection(VimClipboard *cbd);
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
351 int clip_mch_own_selection(VimClipboard *cbd);
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
352 void clip_mch_request_selection(VimClipboard *cbd);
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
353 void clip_mch_set_selection(VimClipboard *cbd);
3e4574a4b627 Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents: 2280
diff changeset
354 #endif
501
ce2181d14aa0 updated for version 7.0139
vimboss
parents: 451
diff changeset
355
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 #ifdef __BORLANDC__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 # define _PROTO_H
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 #endif /* !PROTO && !NOPROTO */