annotate src/proto.h @ 21766:283490dee44d

Added tag v8.2.1432 for changeset 08940efa6b4eb93d0213eac46ba3c7f2e7a4d575
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Aug 2020 19:00:09 +0200
parents 35921b7fc07a
children 2cc0de1e05a6
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 */
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
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"
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 # ifdef VMS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 # include "os_vms.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 # ifdef __QNX__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 # include "os_qnx.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
56 # ifdef FEAT_CRYPT
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
57 # include "blowfish.pro"
6122
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
58 # include "crypt.pro"
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
59 # 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
60 # endif
17744
4a3dca734d36 patch 8.1.1869: code for the argument list is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17652
diff changeset
61 # include "arglist.pro"
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
62 # include "autocmd.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 # include "buffer.pro"
18199
e2be5a6485f5 patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18174
diff changeset
64 # include "bufwrite.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
65 # include "change.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # include "charset.pro"
18265
fe5afdc03bd2 patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents: 18199
diff changeset
67 # include "cindent.pro"
19920
5e41b2e63c73 patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 19774
diff changeset
68 # include "clientserver.pro"
19774
00a1b89256ea patch 8.2.0443: clipboard code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 19760
diff changeset
69 # include "clipboard.pro"
17779
87a8760babec patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17744
diff changeset
70 # include "cmdexpand.pro"
17652
9efb4dda9720 patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17576
diff changeset
71 # include "cmdhist.pro"
17988
397a49a22fb4 patch 8.1.1990: cannot build with eval but without cscope
Bram Moolenaar <Bram@vim.org>
parents: 17966
diff changeset
72 # include "if_cscope.pro"
16381
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents: 16142
diff changeset
73 # include "debugger.pro"
9558
b591a350f190 commit https://github.com/vim/vim/commit/1abc52c1599fede69b4e76ffde0e879d6fb5080a
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
74 # include "dict.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 # include "diff.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 # include "digraph.pro"
18124
2a806e3c39f6 patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents: 18100
diff changeset
77 # include "drawline.pro"
2a806e3c39f6 patch 8.1.2057: the screen.c file is much too big
Bram Moolenaar <Bram@vim.org>
parents: 18100
diff changeset
78 # include "drawscreen.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 # include "edit.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 # include "eval.pro"
18010
cf8e0c7e0cb9 patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents: 17988
diff changeset
81 # include "evalbuffer.pro"
9571
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9562
diff changeset
82 # include "evalfunc.pro"
18010
cf8e0c7e0cb9 patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents: 17988
diff changeset
83 # include "evalvars.pro"
cf8e0c7e0cb9 patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents: 17988
diff changeset
84 # include "evalwindow.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 # include "ex_cmds.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 # include "ex_cmds2.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 # include "ex_docmd.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 # include "ex_eval.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 # include "ex_getln.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 # include "fileio.pro"
17966
46f95606b9ec patch 8.1.1979: code for handling file names is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17950
diff changeset
91 # include "filepath.pro"
15814
99ebf78686a9 patch 8.1.0914: code related to findfile() is spread out
Bram Moolenaar <Bram@vim.org>
parents: 15699
diff changeset
92 # include "findfile.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 # include "fold.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 # include "getchar.pro"
20637
6c5b11458f31 patch 8.2.0872: XIM code is mixed with multi-byte code
Bram Moolenaar <Bram@vim.org>
parents: 20591
diff changeset
95 # include "gui_xim.pro"
440
eb531146be0e updated for version 7.0114
vimboss
parents: 272
diff changeset
96 # include "hardcopy.pro"
799
6beb2c667935 updated for version 7.0b
vimboss
parents: 763
diff changeset
97 # include "hashtab.pro"
21423
5db63c2c6929 patch 8.2.1262: src/ex_cmds.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 21054
diff changeset
98 # include "help.pro"
17389
635d7f5010b8 patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents: 17377
diff changeset
99 # include "highlight.pro"
15699
2d941023bd2f patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents: 15634
diff changeset
100 # 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
101 # include "insexpand.pro"
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 6122
diff changeset
102 # include "json.pro"
9560
1e68dfd7931b commit https://github.com/vim/vim/commit/da861d631d7e22654faee2789286c685ad548911
Christian Brabandt <cb@256bit.org>
parents: 9558
diff changeset
103 # include "list.pro"
21437
b32b67a108f2 patch 8.2.1269: language and locale code spread out
Bram Moolenaar <Bram@vim.org>
parents: 21423
diff changeset
104 # include "locale.pro"
15454
1d2b5c016f17 patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents: 15330
diff changeset
105 # include "blob.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 # include "main.pro"
17576
97a750e8707f patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents: 17539
diff changeset
107 # include "map.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 # include "mark.pro"
21054
b1fac55cf8a3 patch 8.2.1078: highlight and match functionality together in one file
Bram Moolenaar <Bram@vim.org>
parents: 20637
diff changeset
109 # include "match.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 # include "memfile.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 # include "memline.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 # ifdef FEAT_MENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 # include "menu.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 # endif
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
115 # ifdef FEAT_ARABIC
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
116 # include "arabic.pro"
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
117 # endif
17458
cfdef48743ed patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
118 # ifdef FEAT_VIMINFO
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
119 # include "viminfo.pro"
17458
cfdef48743ed patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
120 # endif
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
121
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
122 // 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
123 int smsg(const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
124 # ifdef USE_PRINTF_FORMAT_ATTRIBUTE
19760
9daed26b788b patch 8.2.0436: no warnings for incorrect printf arguments
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
125 __attribute__((format(printf, 1, 2)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
126 # endif
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
127 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
128
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
129 int smsg_attr(int, const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
130 # ifdef USE_PRINTF_FORMAT_ATTRIBUTE
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
131 __attribute__((format(printf, 2, 3)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
132 # endif
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
133 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
134
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
135 int smsg_attr_keep(int, const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
136 # ifdef USE_PRINTF_FORMAT_ATTRIBUTE
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
137 __attribute__((format(printf, 2, 3)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
138 # endif
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
139 ;
14237
487d7bda80ea patch 8.1.0135: undo message delays screen update for CTRL-O u
Christian Brabandt <cb@256bit.org>
parents: 13618
diff changeset
140
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
141 // 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
142 int semsg(const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
143 # ifdef USE_PRINTF_FORMAT_ATTRIBUTE
19760
9daed26b788b patch 8.2.0436: no warnings for incorrect printf arguments
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
144 __attribute__((format(printf, 1, 2)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
145 # endif
15896
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
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
148 // 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
149 void siemsg(const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
150 # ifdef USE_PRINTF_FORMAT_ATTRIBUTE
19760
9daed26b788b patch 8.2.0436: no warnings for incorrect printf arguments
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
151 __attribute__((format(printf, 1, 2)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
152 # endif
15896
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
153 ;
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
154
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
155 int vim_snprintf_add(char *, size_t, const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
156 # 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
157 __attribute__((format(printf, 3, 4)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
158 # endif
13610
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
159 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
160
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
161 int vim_snprintf(char *, size_t, const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
162 # 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
163 __attribute__((format(printf, 3, 4)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
164 # endif
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 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
166
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
167 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
168 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
169
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 # include "message.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 # include "misc1.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 # include "misc2.pro"
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
173 # 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
174 char_u *vim_strpbrk(char_u *s, char_u *charset);
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
175 # endif
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
176 # ifndef HAVE_QSORT
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
177 // 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
178 void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *));
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
179 # endif
18135
1868ec23360e patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 18124
diff changeset
180 # include "mouse.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 # include "move.pro"
15605
62b3805506b3 patch 8.1.0810: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15567
diff changeset
182 # include "mbyte.pro"
18742
e9b2ade1adbd patch 8.1.2361: MS-Windows: test failures related to VIMDLL
Bram Moolenaar <Bram@vim.org>
parents: 18671
diff changeset
183 # ifdef VIMDLL
e9b2ade1adbd patch 8.1.2361: MS-Windows: test failures related to VIMDLL
Bram Moolenaar <Bram@vim.org>
parents: 18671
diff changeset
184 // Function name differs when VIMDLL is defined
e9b2ade1adbd patch 8.1.2361: MS-Windows: test failures related to VIMDLL
Bram Moolenaar <Bram@vim.org>
parents: 18671
diff changeset
185 int mbyte_im_get_status(void);
e9b2ade1adbd patch 8.1.2361: MS-Windows: test failures related to VIMDLL
Bram Moolenaar <Bram@vim.org>
parents: 18671
diff changeset
186 void mbyte_im_set_active(int active_arg);
e9b2ade1adbd patch 8.1.2361: MS-Windows: test failures related to VIMDLL
Bram Moolenaar <Bram@vim.org>
parents: 18671
diff changeset
187 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 # include "normal.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 # include "ops.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 # include "option.pro"
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18010
diff changeset
191 # include "optionstr.pro"
18174
1ec6539cef68 patch 8.1.2082: some files have a weird name to fit in 8.3 characters
Bram Moolenaar <Bram@vim.org>
parents: 18172
diff changeset
192 # include "popupmenu.pro"
17370
ba06a1c42274 patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17324
diff changeset
193 # if defined(FEAT_PROFILE) || defined(FEAT_RELTIME)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
194 # include "profiler.pro"
17370
ba06a1c42274 patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17324
diff changeset
195 # endif
17950
bb0e25a8b5d7 patch 8.1.1971: manually enabling features causes build errors
Bram Moolenaar <Bram@vim.org>
parents: 17873
diff changeset
196 # include "quickfix.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 # include "regexp.pro"
18164
f57481564f2c patch 8.1.2077: the ops.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18135
diff changeset
198 # include "register.pro"
17861
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17809
diff changeset
199 # include "scriptfile.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 # include "screen.pro"
17539
554240b9574b patch 8.1.1767: FEAT_SESSION defined separately
Bram Moolenaar <Bram@vim.org>
parents: 17536
diff changeset
201 # include "session.pro"
2265
b7cb69ab616d Added salt to blowfish encryption.
Bram Moolenaar <bram@vim.org>
parents: 2209
diff changeset
202 # 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
203 # include "sha256.pro"
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
204 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 # 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
206 # 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
207 # 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
208 # endif
17004
353ed7ef78df patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents: 16778
diff changeset
209 # include "sound.pro"
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"
18172
6e53d83e021d patch 8.1.2081: the spell.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18164
diff changeset
212 # include "spellsuggest.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 # include "syntax.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 # include "tag.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 # include "term.pro"
11621
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
216 # ifdef FEAT_TERMINAL
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
217 # include "terminal.pro"
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
218 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 # include "termlib.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 # endif
18763
49b78d6465e5 patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Bram Moolenaar <Bram@vim.org>
parents: 18753
diff changeset
222 # ifdef FEAT_PROP_POPUP
16778
eda4d65f232c patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents: 16632
diff changeset
223 # include "popupwin.pro"
15138
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 14237
diff changeset
224 # include "textprop.pro"
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 14237
diff changeset
225 # endif
17377
cb008de2a6ec patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17370
diff changeset
226 # include "testing.pro"
20209
6ca6a372fef6 patch 8.2.0660: the search.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents: 19920
diff changeset
227 # include "textobject.pro"
20237
918245588b50 patch 8.2.0674: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents: 20209
diff changeset
228 # include "textformat.pro"
19396
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 19181
diff changeset
229 # include "time.pro"
20587
f502455965c0 patch 8.2.0847: typval related code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 20237
diff changeset
230 # include "typval.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 # include "ui.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 # 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
233 # include "usercmd.pro"
9562
86af4a48c00a commit https://github.com/vim/vim/commit/a9b579f3d7463720a316e11e77a7a9fbb9267986
Christian Brabandt <cb@256bit.org>
parents: 9560
diff changeset
234 # include "userfunc.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 # include "version.pro"
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents: 18773
diff changeset
236 # ifdef FEAT_EVAL
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents: 18773
diff changeset
237 # include "vim9compile.pro"
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents: 18773
diff changeset
238 # include "vim9execute.pro"
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents: 18773
diff changeset
239 # include "vim9script.pro"
21711
d2dee69de7c7 patch 8.2.1405: Vim9: vim9compile.c is getting too big
Bram Moolenaar <Bram@vim.org>
parents: 21437
diff changeset
240 # include "vim9type.pro"
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents: 18773
diff changeset
241 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 # include "window.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
244 # ifdef FEAT_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
245 # include "if_lua.pro"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
246 # endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
247
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
248 # ifdef FEAT_MZSCHEME
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
249 # include "if_mzsch.pro"
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
250 # endif
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
251
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 # ifdef FEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 # include "if_python.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
256 # ifdef FEAT_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
257 # include "if_python3.pro"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
258 # endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
259
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 # ifdef FEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 # include "if_tcl.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 # ifdef FEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 # include "if_ruby.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267
17324
066d77831630 patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents: 17063
diff changeset
268 // 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
269 // .pro files.
066d77831630 patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents: 17063
diff changeset
270 # 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
271 # 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
272 # endif
18763
49b78d6465e5 patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Bram Moolenaar <Bram@vim.org>
parents: 18753
diff changeset
273 # if defined(FEAT_BEVAL) || defined(FEAT_PROP_POPUP)
12889
0ebade0c0ab2 patch 8.0.1321: can't build huge version with Athena
Christian Brabandt <cb@256bit.org>
parents: 12716
diff changeset
274 # include "beval.pro"
2209
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
275 # endif
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
276
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
277 # ifdef FEAT_NETBEANS_INTG
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
278 # include "netbeans.pro"
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
279 # endif
8493
caed4b2d305f commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents: 8212
diff changeset
280 # ifdef FEAT_JOB_CHANNEL
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
281 # 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
282
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
283 // Not generated automatically, to add extra 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
284 void ch_log(channel_T *ch, const char *fmt, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
285 # 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
286 __attribute__((format(printf, 2, 3)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
287 # endif
13610
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
288 ;
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
289
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
290 # endif
2209
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
291
11737
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
292 # 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
293 # if defined(UNIX) || defined(MACOS_X) || defined(VMS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 # include "pty.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 # endif
11737
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
296 # endif
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
297
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
298 # ifdef FEAT_GUI
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
299 # include "gui.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 # if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) && !defined(VMS)
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
301 extern int putenv(const char *string); // in misc2.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 # ifdef USE_VIMPTY_GETENV
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
303 extern char_u *vimpty_getenv(const char_u *string); // in misc2.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 # endif
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15850
diff changeset
306 # ifdef FEAT_GUI_MSWIN
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 # include "gui_w32.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 # ifdef FEAT_GUI_GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 # include "gui_gtk.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 # include "gui_gtk_x11.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 # ifdef FEAT_GUI_MOTIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 # include "gui_motif.pro"
44
af1bcb9a13c0 updated for version 7.0027
vimboss
parents: 14
diff changeset
315 # include "gui_xmdlg.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 # ifdef FEAT_GUI_ATHENA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 # include "gui_athena.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 # ifdef FEAT_BROWSE
7807
1a5d34492798 commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
320 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
321 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 # endif
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents: 19396
diff changeset
323 # ifdef FEAT_GUI_HAIKU
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents: 19396
diff changeset
324 # include "gui_haiku.pro"
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents: 19396
diff changeset
325 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 # ifdef FEAT_GUI_X11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 # include "gui_x11.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 # ifdef FEAT_GUI_PHOTON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 # include "gui_photon.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 # endif
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
332 # endif // FEAT_GUI
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 # ifdef FEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 # include "if_ole.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 # include "if_xcmdsrv.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 /*
539
b13dbb7b797c updated for version 7.0153
vimboss
parents: 501
diff changeset
342 * The perl include files pollute the namespace, therefore proto.h must be
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 * included before the perl include files. But then CV is not defined, which
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 * 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
345 * 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
346 * other files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 */
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
348 # if defined(FEAT_PERL) && !defined(IN_PERL_FILE)
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
349 # define CV void
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
350 # include "if_perl.pro"
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
351 # include "if_perlsfio.pro"
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
352 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
354 # ifdef MACOS_CONVERT
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
355 # include "os_mac_conv.pro"
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
356 # endif
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
357 # if defined(MACOS_X_DARWIN) && defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
358 // 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
359 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
360 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
361 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
362 void clip_mch_set_selection(Clipboard_T *cbd);
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
363 # endif
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
364 #endif // !PROTO && !NOPROTO