Mercurial > vim
annotate src/proto.h @ 17368:6604ecb7a615 v8.1.1683
patch 8.1.1683: dictionary with string keys is longer than needed
commit https://github.com/vim/vim/commit/d5abb4c87727eecb71b0e8ffdda60fc9598272f3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 13 22:46:10 2019 +0200
patch 8.1.1683: dictionary with string keys is longer than needed
Problem: Dictionary with string keys is longer than needed.
Solution: Use *{key: val} for literaly keys.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Jul 2019 23:00:05 +0200 |
parents | 066d77831630 |
children | ba06a1c42274 |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
9583
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 */ | |
8 | |
9 /* | |
10 * proto.h: include the (automatically generated) function prototypes | |
11 */ | |
12 | |
13 /* | |
14 * Don't include these while generating prototypes. Prevents problems when | |
15 * files are missing. | |
16 */ | |
17 #if !defined(PROTO) && !defined(NOPROTO) | |
18 | |
19 /* | |
20 * Machine-dependent routines. | |
21 */ | |
22 /* avoid errors in function prototypes */ | |
573 | 23 # if !defined(FEAT_X11) && !defined(FEAT_GUI_GTK) |
7 | 24 # define Display int |
25 # define Widget int | |
26 # endif | |
27 # ifndef FEAT_GUI_GTK | |
28 # define GdkEvent int | |
29 # define GdkEventKey int | |
30 # endif | |
31 # ifndef FEAT_X11 | |
32 # define XImage int | |
33 # endif | |
34 | |
35 # ifdef AMIGA | |
36 # include "os_amiga.pro" | |
37 # endif | |
9536
b2aada04d84e
commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents:
9403
diff
changeset
|
38 # if defined(UNIX) || defined(VMS) |
7 | 39 # include "os_unix.pro" |
40 # endif | |
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 | 42 # include "os_win32.pro" |
43 # include "os_mswin.pro" | |
4168 | 44 # include "winclip.pro" |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
45 # if (defined(__GNUC__) && !defined(__MINGW32__)) |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
46 extern int _stricoll(char *a, char *b); |
7 | 47 # endif |
48 # endif | |
49 # ifdef VMS | |
50 # include "os_vms.pro" | |
51 # endif | |
52 # ifdef __BEOS__ | |
53 # include "os_beos.pro" | |
54 # endif | |
55 # ifdef __QNX__ | |
56 # include "os_qnx.pro" | |
57 # endif | |
58 | |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
59 # ifdef FEAT_CRYPT |
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
60 # include "blowfish.pro" |
6122 | 61 # include "crypt.pro" |
62 # 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
|
63 # 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
|
64 # include "autocmd.pro" |
7 | 65 # include "buffer.pro" |
16632
30de89c1d090
patch 8.1.1318: code for text changes is in a "misc" file
Bram Moolenaar <Bram@vim.org>
parents:
16606
diff
changeset
|
66 # include "change.pro" |
7 | 67 # include "charset.pro" |
68 # ifdef FEAT_CSCOPE | |
69 # include "if_cscope.pro" | |
70 # endif | |
16381
1dcbaa780b8e
patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
16142
diff
changeset
|
71 # include "debugger.pro" |
9558
b591a350f190
commit https://github.com/vim/vim/commit/1abc52c1599fede69b4e76ffde0e879d6fb5080a
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
72 # include "dict.pro" |
7 | 73 # include "diff.pro" |
74 # include "digraph.pro" | |
75 # include "edit.pro" | |
76 # include "eval.pro" | |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
9562
diff
changeset
|
77 # include "evalfunc.pro" |
7 | 78 # include "ex_cmds.pro" |
79 # include "ex_cmds2.pro" | |
80 # include "ex_docmd.pro" | |
81 # include "ex_eval.pro" | |
82 # include "ex_getln.pro" | |
83 # 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
|
84 # include "findfile.pro" |
7 | 85 # include "fold.pro" |
86 # include "getchar.pro" | |
87 # ifdef FEAT_HANGULIN | |
88 # include "hangulin.pro" | |
89 # endif | |
440 | 90 # include "hardcopy.pro" |
799 | 91 # include "hashtab.pro" |
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
15634
diff
changeset
|
92 # include "indent.pro" |
16142
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
15896
diff
changeset
|
93 # ifdef FEAT_INS_EXPAND |
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
15896
diff
changeset
|
94 # include "insexpand.pro" |
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
15896
diff
changeset
|
95 # endif |
7712
bce3b5ddb393
commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents:
6122
diff
changeset
|
96 # include "json.pro" |
9560
1e68dfd7931b
commit https://github.com/vim/vim/commit/da861d631d7e22654faee2789286c685ad548911
Christian Brabandt <cb@256bit.org>
parents:
9558
diff
changeset
|
97 # include "list.pro" |
15454
1d2b5c016f17
patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents:
15330
diff
changeset
|
98 # include "blob.pro" |
7 | 99 # include "main.pro" |
100 # include "mark.pro" | |
101 # include "memfile.pro" | |
102 # include "memline.pro" | |
103 # ifdef FEAT_MENU | |
104 # include "menu.pro" | |
105 # endif | |
9403
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
106 # ifdef FEAT_ARABIC |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
107 # include "arabic.pro" |
9b048dced116
commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
108 # endif |
272 | 109 |
7838
cfed0e9f0ca2
commit https://github.com/vim/vim/commit/ba4ef2757cfc126f342b710f1ad9ea39e6b56cec
Christian Brabandt <cb@256bit.org>
parents:
7807
diff
changeset
|
110 /* These prototypes cannot be produced automatically. */ |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
111 int smsg(const char *, ...) |
15490
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 |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
117 int smsg_attr(int, const char *, ...) |
15490
98c35d312987
patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents:
15470
diff
changeset
|
118 #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
|
119 __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
|
120 #endif |
98c35d312987
patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents:
15470
diff
changeset
|
121 ; |
2280
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
122 |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
123 int smsg_attr_keep(int, const char *, ...) |
15490
98c35d312987
patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents:
15470
diff
changeset
|
124 #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
|
125 __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
|
126 #endif |
98c35d312987
patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents:
15470
diff
changeset
|
127 ; |
14237
487d7bda80ea
patch 8.1.0135: undo message delays screen update for CTRL-O u
Christian Brabandt <cb@256bit.org>
parents:
13618
diff
changeset
|
128 |
15896
ac080f6a4db8
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents:
15868
diff
changeset
|
129 /* These prototypes cannot be produced automatically. */ |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
130 int semsg(const char *, ...) |
15896
ac080f6a4db8
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents:
15868
diff
changeset
|
131 #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
|
132 __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
|
133 #endif |
ac080f6a4db8
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents:
15868
diff
changeset
|
134 ; |
ac080f6a4db8
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents:
15868
diff
changeset
|
135 |
ac080f6a4db8
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents:
15868
diff
changeset
|
136 /* These prototypes cannot be produced automatically. */ |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
137 void siemsg(const char *, ...) |
15896
ac080f6a4db8
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents:
15868
diff
changeset
|
138 #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
|
139 __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
|
140 #endif |
ac080f6a4db8
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents:
15868
diff
changeset
|
141 ; |
ac080f6a4db8
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents:
15868
diff
changeset
|
142 |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
143 int 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
|
144 #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
|
145 __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
|
146 #endif |
e76499e85744
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents:
12889
diff
changeset
|
147 ; |
2280
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
148 |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
149 int 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
|
150 #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
|
151 __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
|
152 #endif |
e76499e85744
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents:
12889
diff
changeset
|
153 ; |
2280
941ff1cd317a
Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents:
2265
diff
changeset
|
154 |
15470
55ccc2d353bd
patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents:
15454
diff
changeset
|
155 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
|
156 int vim_vsnprintf_typval(char *str, size_t str_m, const char *fmt, va_list ap, typval_T *tvs); |
272 | 157 |
7 | 158 # include "message.pro" |
159 # include "misc1.pro" | |
160 # include "misc2.pro" | |
161 #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
|
162 char_u *vim_strpbrk(char_u *s, char_u *charset); |
7 | 163 #endif |
164 #ifndef HAVE_QSORT | |
165 /* 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
|
166 void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *)); |
7 | 167 #endif |
168 # include "move.pro" | |
15605
62b3805506b3
patch 8.1.0810: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents:
15567
diff
changeset
|
169 # include "mbyte.pro" |
7 | 170 # include "normal.pro" |
171 # include "ops.pro" | |
172 # include "option.pro" | |
799 | 173 # include "popupmnu.pro" |
174 # ifdef FEAT_QUICKFIX | |
175 # include "quickfix.pro" | |
176 # endif | |
7 | 177 # include "regexp.pro" |
178 # include "screen.pro" | |
2265
b7cb69ab616d
Added salt to blowfish encryption.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
179 # 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
|
180 # include "sha256.pro" |
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
799
diff
changeset
|
181 # endif |
7 | 182 # 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
|
183 # ifdef FEAT_SIGNS |
16606
7e733046db1d
patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
184 # include "sign.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
|
185 # endif |
17004
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
16778
diff
changeset
|
186 # include "sound.pro" |
220 | 187 # include "spell.pro" |
9583
b0c7061d6439
commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents:
9571
diff
changeset
|
188 # include "spellfile.pro" |
7 | 189 # include "syntax.pro" |
190 # include "tag.pro" | |
191 # include "term.pro" | |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
192 # ifdef FEAT_TERMINAL |
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
193 # include "terminal.pro" |
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
194 # endif |
7 | 195 # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS)) |
196 # include "termlib.pro" | |
197 # endif | |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
14237
diff
changeset
|
198 # ifdef FEAT_TEXT_PROP |
16778
eda4d65f232c
patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents:
16632
diff
changeset
|
199 # include "popupwin.pro" |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
14237
diff
changeset
|
200 # include "textprop.pro" |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
14237
diff
changeset
|
201 # endif |
7 | 202 # include "ui.pro" |
203 # include "undo.pro" | |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
16381
diff
changeset
|
204 # include "usercmd.pro" |
9562
86af4a48c00a
commit https://github.com/vim/vim/commit/a9b579f3d7463720a316e11e77a7a9fbb9267986
Christian Brabandt <cb@256bit.org>
parents:
9560
diff
changeset
|
205 # include "userfunc.pro" |
7 | 206 # include "version.pro" |
207 # include "window.pro" | |
208 | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2310
diff
changeset
|
209 # ifdef FEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2310
diff
changeset
|
210 # include "if_lua.pro" |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2310
diff
changeset
|
211 # endif |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2310
diff
changeset
|
212 |
14 | 213 # ifdef FEAT_MZSCHEME |
214 # include "if_mzsch.pro" | |
215 # endif | |
216 | |
7 | 217 # ifdef FEAT_PYTHON |
218 # include "if_python.pro" | |
219 # endif | |
220 | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
221 # ifdef FEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
222 # include "if_python3.pro" |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
223 # endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
224 |
7 | 225 # ifdef FEAT_TCL |
226 # include "if_tcl.pro" | |
227 # endif | |
228 | |
229 # ifdef FEAT_RUBY | |
230 # include "if_ruby.pro" | |
231 # endif | |
232 | |
17324
066d77831630
patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents:
17063
diff
changeset
|
233 // Ugly solution for "BalloonEval" not being defined while it's used in some |
066d77831630
patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents:
17063
diff
changeset
|
234 // .pro files. |
066d77831630
patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents:
17063
diff
changeset
|
235 # ifndef FEAT_BEVAL |
066d77831630
patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents:
17063
diff
changeset
|
236 # define BalloonEval int |
066d77831630
patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents:
17063
diff
changeset
|
237 # endif |
066d77831630
patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents:
17063
diff
changeset
|
238 # if defined(FEAT_BEVAL) || defined(FEAT_TEXT_PROP) |
12889
0ebade0c0ab2
patch 8.0.1321: can't build huge version with Athena
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
239 # include "beval.pro" |
2209
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
240 # endif |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
241 |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
242 # ifdef FEAT_NETBEANS_INTG |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
243 # include "netbeans.pro" |
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
244 # endif |
8493
caed4b2d305f
commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents:
8212
diff
changeset
|
245 # ifdef FEAT_JOB_CHANNEL |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
246 # 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
|
247 |
e76499e85744
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents:
12889
diff
changeset
|
248 /* 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
|
249 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
|
250 #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
|
251 __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
|
252 #endif |
e76499e85744
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents:
12889
diff
changeset
|
253 ; |
e76499e85744
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents:
12889
diff
changeset
|
254 |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
255 # endif |
2209
d0ddf7ba1630
Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
256 |
11737
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
257 # 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
|
258 # if defined(UNIX) || defined(MACOS_X) || defined(VMS) |
7 | 259 # include "pty.pro" |
260 # endif | |
11737
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
261 # endif |
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
262 |
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
263 # ifdef FEAT_GUI |
7791a15353dc
patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents:
11653
diff
changeset
|
264 # include "gui.pro" |
7 | 265 # 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
|
266 extern int putenv(const char *string); /* in misc2.c */ |
7 | 267 # 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
|
268 extern char_u *vimpty_getenv(const char_u *string); /* in misc2.c */ |
7 | 269 # endif |
270 # endif | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15850
diff
changeset
|
271 # ifdef FEAT_GUI_MSWIN |
7 | 272 # include "gui_w32.pro" |
273 # endif | |
274 # ifdef FEAT_GUI_GTK | |
275 # include "gui_gtk.pro" | |
276 # include "gui_gtk_x11.pro" | |
277 # endif | |
278 # ifdef FEAT_GUI_MOTIF | |
279 # include "gui_motif.pro" | |
44 | 280 # include "gui_xmdlg.pro" |
7 | 281 # endif |
282 # ifdef FEAT_GUI_ATHENA | |
283 # include "gui_athena.pro" | |
284 # ifdef FEAT_BROWSE | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7743
diff
changeset
|
285 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 | 286 # endif |
287 # endif | |
288 # ifdef FEAT_GUI_MAC | |
289 # include "gui_mac.pro" | |
290 # endif | |
291 # ifdef FEAT_GUI_X11 | |
292 # include "gui_x11.pro" | |
293 # endif | |
294 # ifdef FEAT_GUI_PHOTON | |
295 # include "gui_photon.pro" | |
296 # endif | |
297 # endif /* FEAT_GUI */ | |
298 | |
299 # ifdef FEAT_OLE | |
300 # include "if_ole.pro" | |
301 # endif | |
302 # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11) | |
303 # include "if_xcmdsrv.pro" | |
304 # endif | |
305 | |
306 /* | |
539 | 307 * The perl include files pollute the namespace, therefore proto.h must be |
7 | 308 * included before the perl include files. But then CV is not defined, which |
309 * is used in if_perl.pro. To get around this, the perl prototype files are | |
310 * not included here for the perl files. Use a dummy define for CV for the | |
311 * other files. | |
312 */ | |
313 #if defined(FEAT_PERL) && !defined(IN_PERL_FILE) | |
314 # define CV void | |
315 # include "if_perl.pro" | |
316 # include "if_perlsfio.pro" | |
317 #endif | |
318 | |
763 | 319 #ifdef MACOS_CONVERT |
501 | 320 # include "os_mac_conv.pro" |
321 #endif | |
12716
351cf7c67bbe
patch 8.0.1236: Mac features are confusing
Christian Brabandt <cb@256bit.org>
parents:
11737
diff
changeset
|
322 #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
|
323 /* functions in os_macosx.m */ |
17063
3147c7c2e86b
patch 8.1.1531: clipboard type name is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
17004
diff
changeset
|
324 void clip_mch_lose_selection(Clipboard_T *cbd); |
3147c7c2e86b
patch 8.1.1531: clipboard type name is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
17004
diff
changeset
|
325 int clip_mch_own_selection(Clipboard_T *cbd); |
3147c7c2e86b
patch 8.1.1531: clipboard type name is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
17004
diff
changeset
|
326 void clip_mch_request_selection(Clipboard_T *cbd); |
3147c7c2e86b
patch 8.1.1531: clipboard type name is inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
17004
diff
changeset
|
327 void clip_mch_set_selection(Clipboard_T *cbd); |
2310
3e4574a4b627
Fix a few compiler warnings.
Bram Moolenaar <bram@vim.org>
parents:
2280
diff
changeset
|
328 #endif |
7 | 329 #endif /* !PROTO && !NOPROTO */ |