annotate src/proto.h @ 18814:7e7ec935e7c8 v8.1.2395

patch 8.1.2395: using old C style comments Commit: https://github.com/vim/vim/commit/0d6f5d9740dbad1b0207f3ab257de806169dd905 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 5 21:33:15 2019 +0100 patch 8.1.2395: using old C style comments Problem: Using old C style comments. Solution: Use // comments where appropriate.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Dec 2019 21:45:04 +0100
parents 38a3bef525e6
children 94eda51ba9ba
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 __BEOS__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 # include "os_beos.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 # ifdef __QNX__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 # include "os_qnx.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
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
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
61 # include "crypt.pro"
18ac55444b37 updated for version 7.4.399
Bram Moolenaar <bram@vim.org>
parents: 4168
diff changeset
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
17744
4a3dca734d36 patch 8.1.1869: code for the argument list is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17652
diff changeset
64 # 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
65 # include "autocmd.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # 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
67 # 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
68 # include "change.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 # 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
70 # include "cindent.pro"
17779
87a8760babec patch 8.1.1886: command line expansion code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17744
diff changeset
71 # 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
72 # 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
73 # 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
74 # include "debugger.pro"
9558
b591a350f190 commit https://github.com/vim/vim/commit/1abc52c1599fede69b4e76ffde0e879d6fb5080a
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
75 # include "dict.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 # include "diff.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 # 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
78 # 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
79 # include "drawscreen.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 # include "edit.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 # include "eval.pro"
18010
cf8e0c7e0cb9 patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents: 17988
diff changeset
82 # include "evalbuffer.pro"
9571
5eaa708ab50d commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents: 9562
diff changeset
83 # include "evalfunc.pro"
18010
cf8e0c7e0cb9 patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents: 17988
diff changeset
84 # include "evalvars.pro"
cf8e0c7e0cb9 patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents: 17988
diff changeset
85 # include "evalwindow.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 # include "ex_cmds.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 # include "ex_cmds2.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 # include "ex_docmd.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 # include "ex_eval.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 # include "ex_getln.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 # 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
92 # 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
93 # include "findfile.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 # include "fold.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 # include "getchar.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"
17389
635d7f5010b8 patch 8.1.1693: syntax coloring and highlighting is in one big file
Bram Moolenaar <Bram@vim.org>
parents: 17377
diff changeset
98 # include "highlight.pro"
15699
2d941023bd2f patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents: 15634
diff changeset
99 # 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
100 # include "insexpand.pro"
7712
bce3b5ddb393 commit https://github.com/vim/vim/commit/520e1e41f35b063ede63b41738c82d6636e78c34
Christian Brabandt <cb@256bit.org>
parents: 6122
diff changeset
101 # include "json.pro"
9560
1e68dfd7931b commit https://github.com/vim/vim/commit/da861d631d7e22654faee2789286c685ad548911
Christian Brabandt <cb@256bit.org>
parents: 9558
diff changeset
102 # include "list.pro"
15454
1d2b5c016f17 patch 8.1.0735: cannot handle binary data
Bram Moolenaar <Bram@vim.org>
parents: 15330
diff changeset
103 # include "blob.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 # include "main.pro"
17576
97a750e8707f patch 8.1.1785: map functionality mixed with character input
Bram Moolenaar <Bram@vim.org>
parents: 17539
diff changeset
105 # include "map.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 # include "mark.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 # include "memfile.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 # include "memline.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 # ifdef FEAT_MENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 # include "menu.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 # endif
9403
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
112 # ifdef FEAT_ARABIC
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
113 # include "arabic.pro"
9b048dced116 commit https://github.com/vim/vim/commit/75464dc434c43efac60e8bfd9bec2a8b736407e9
Christian Brabandt <cb@256bit.org>
parents: 8493
diff changeset
114 # endif
17458
cfdef48743ed patch 8.1.1727: code for viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17389
diff changeset
115 # ifdef FEAT_VIMINFO
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
116 # 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
117 # endif
272
ddada568db54 updated for version 7.0073
vimboss
parents: 220
diff changeset
118
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
119 // 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
120 int smsg(const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
121 # 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
122 __attribute__((format(printf, 1, 0)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
123 # endif
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
124 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
125
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
126 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
127 # 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
128 __attribute__((format(printf, 2, 3)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
129 # endif
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
130 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
131
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
132 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
133 # 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
134 __attribute__((format(printf, 2, 3)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
135 # endif
15490
98c35d312987 patch 8.1.0753: printf format not checked for semsg()
Bram Moolenaar <Bram@vim.org>
parents: 15470
diff changeset
136 ;
14237
487d7bda80ea patch 8.1.0135: undo message delays screen update for CTRL-O u
Christian Brabandt <cb@256bit.org>
parents: 13618
diff changeset
137
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
138 // 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
139 int semsg(const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
140 # ifdef USE_PRINTF_FORMAT_ATTRIBUTE
15896
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
141 __attribute__((format(printf, 1, 0)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
142 # endif
15896
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
143 ;
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
144
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
145 // 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
146 void siemsg(const char *, ...)
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
147 # ifdef USE_PRINTF_FORMAT_ATTRIBUTE
15896
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
148 __attribute__((format(printf, 1, 0)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
149 # endif
15896
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
150 ;
ac080f6a4db8 patch 8.1.0954: arguments of semsg() and siemsg() are not checked
Bram Moolenaar <Bram@vim.org>
parents: 15868
diff changeset
151
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
152 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
153 # 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
154 __attribute__((format(printf, 3, 4)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
155 # 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
156 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
157
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 16411
diff changeset
158 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
159 # 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
160 __attribute__((format(printf, 3, 4)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
161 # 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
162 ;
2280
941ff1cd317a Add file save counter to undo information. Add undotree() function.
Bram Moolenaar <bram@vim.org>
parents: 2265
diff changeset
163
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 15454
diff changeset
164 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
165 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
166
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 # include "message.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 # include "misc1.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 # include "misc2.pro"
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
170 # 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
171 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
172 # endif
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
173 # ifndef HAVE_QSORT
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
174 // 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
175 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
176 # endif
18135
1868ec23360e patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents: 18124
diff changeset
177 # include "mouse.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 # include "move.pro"
15605
62b3805506b3 patch 8.1.0810: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15567
diff changeset
179 # 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
180 # ifdef VIMDLL
e9b2ade1adbd patch 8.1.2361: MS-Windows: test failures related to VIMDLL
Bram Moolenaar <Bram@vim.org>
parents: 18671
diff changeset
181 // 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
182 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
183 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
184 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 # include "normal.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 # include "ops.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 # 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
188 # 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
189 # include "popupmenu.pro"
17370
ba06a1c42274 patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17324
diff changeset
190 # 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
191 # include "profiler.pro"
17370
ba06a1c42274 patch 8.1.1684: profiling functionality is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17324
diff changeset
192 # endif
17950
bb0e25a8b5d7 patch 8.1.1971: manually enabling features causes build errors
Bram Moolenaar <Bram@vim.org>
parents: 17873
diff changeset
193 # include "quickfix.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 # 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
195 # 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
196 # include "scriptfile.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 # include "screen.pro"
17539
554240b9574b patch 8.1.1767: FEAT_SESSION defined separately
Bram Moolenaar <Bram@vim.org>
parents: 17536
diff changeset
198 # include "session.pro"
2265
b7cb69ab616d Added salt to blowfish encryption.
Bram Moolenaar <bram@vim.org>
parents: 2209
diff changeset
199 # 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
200 # include "sha256.pro"
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 799
diff changeset
201 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 # 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
203 # 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
204 # 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
205 # endif
17004
353ed7ef78df patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents: 16778
diff changeset
206 # include "sound.pro"
220
01e77186b20a updated for version 7.0062
vimboss
parents: 127
diff changeset
207 # include "spell.pro"
9583
b0c7061d6439 commit https://github.com/vim/vim/commit/9ccfebddc3ff2a3c2853cf706fd4c26f639bf381
Christian Brabandt <cb@256bit.org>
parents: 9571
diff changeset
208 # 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
209 # include "spellsuggest.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 # include "syntax.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 # include "tag.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 # include "term.pro"
11621
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
213 # ifdef FEAT_TERMINAL
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
214 # include "terminal.pro"
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
215 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 # include "termlib.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 # endif
18763
49b78d6465e5 patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Bram Moolenaar <Bram@vim.org>
parents: 18753
diff changeset
219 # ifdef FEAT_PROP_POPUP
16778
eda4d65f232c patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents: 16632
diff changeset
220 # include "popupwin.pro"
15138
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 14237
diff changeset
221 # include "textprop.pro"
9df130fd5e0d patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents: 14237
diff changeset
222 # endif
17377
cb008de2a6ec patch 8.1.1687: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 17370
diff changeset
223 # include "testing.pro"
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"
16411
5b5c5daf57de patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents: 16381
diff changeset
226 # include "usercmd.pro"
9562
86af4a48c00a commit https://github.com/vim/vim/commit/a9b579f3d7463720a316e11e77a7a9fbb9267986
Christian Brabandt <cb@256bit.org>
parents: 9560
diff changeset
227 # include "userfunc.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 # include "version.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 # include "window.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230
2320
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
231 # ifdef FEAT_LUA
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
232 # include "if_lua.pro"
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
233 # endif
966a5609669e Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents: 2310
diff changeset
234
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
235 # ifdef FEAT_MZSCHEME
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
236 # include "if_mzsch.pro"
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
237 # endif
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
238
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 # ifdef FEAT_PYTHON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 # include "if_python.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242
2329
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
243 # ifdef FEAT_PYTHON3
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
244 # include "if_python3.pro"
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
245 # endif
ad2889f48843 Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents: 2320
diff changeset
246
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 # ifdef FEAT_TCL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 # include "if_tcl.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 # ifdef FEAT_RUBY
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 # include "if_ruby.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
17324
066d77831630 patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents: 17063
diff changeset
255 // 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
256 // .pro files.
066d77831630 patch 8.1.1661: cannot build with +textprop but without +balloon_eval
Bram Moolenaar <Bram@vim.org>
parents: 17063
diff changeset
257 # 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
258 # 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
259 # endif
18763
49b78d6465e5 patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Bram Moolenaar <Bram@vim.org>
parents: 18753
diff changeset
260 # 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
261 # include "beval.pro"
2209
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
262 # endif
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
263
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
264 # ifdef FEAT_NETBEANS_INTG
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
265 # include "netbeans.pro"
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
266 # endif
8493
caed4b2d305f commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents: 8212
diff changeset
267 # ifdef FEAT_JOB_CHANNEL
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
268 # 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
269
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
270 // 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
271 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
272 # 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
273 __attribute__((format(printf, 2, 3)))
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
274 # 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
275 ;
e76499e85744 patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
Christian Brabandt <cb@256bit.org>
parents: 12889
diff changeset
276
7743
6069f43cea4e commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
277 # endif
2209
d0ddf7ba1630 Included the patch to support netbeans in a terminal.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
278
11737
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
279 # 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
280 # if defined(UNIX) || defined(MACOS_X) || defined(VMS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 # include "pty.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 # endif
11737
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
283 # endif
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
284
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
285 # ifdef FEAT_GUI
7791a15353dc patch 8.0.0751: OpenPTY missing with some combination of features
Christian Brabandt <cb@256bit.org>
parents: 11653
diff changeset
286 # include "gui.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 # 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
288 extern int putenv(const char *string); // in misc2.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 # ifdef USE_VIMPTY_GETENV
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
290 extern char_u *vimpty_getenv(const char_u *string); // in misc2.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 # endif
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15850
diff changeset
293 # ifdef FEAT_GUI_MSWIN
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 # include "gui_w32.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 # ifdef FEAT_GUI_GTK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 # include "gui_gtk.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 # include "gui_gtk_x11.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 # ifdef FEAT_GUI_MOTIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 # include "gui_motif.pro"
44
af1bcb9a13c0 updated for version 7.0027
vimboss
parents: 14
diff changeset
302 # include "gui_xmdlg.pro"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 # ifdef FEAT_GUI_ATHENA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 # include "gui_athena.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 # ifdef FEAT_BROWSE
7807
1a5d34492798 commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents: 7743
diff changeset
307 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
308 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 # ifdef FEAT_GUI_MAC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 # include "gui_mac.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_X11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 # include "gui_x11.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 # ifdef FEAT_GUI_PHOTON
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 # include "gui_photon.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 # endif
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
319 # endif // FEAT_GUI
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 # ifdef FEAT_OLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 # include "if_ole.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 # include "if_xcmdsrv.pro"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 /*
539
b13dbb7b797c updated for version 7.0153
vimboss
parents: 501
diff changeset
329 * The perl include files pollute the namespace, therefore proto.h must be
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 * included before the perl include files. But then CV is not defined, which
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 * 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
332 * 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
333 * other files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 */
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
335 # 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
336 # define CV void
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
337 # include "if_perl.pro"
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
338 # include "if_perlsfio.pro"
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
339 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340
18773
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
341 # ifdef MACOS_CONVERT
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
342 # include "os_mac_conv.pro"
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
343 # endif
38a3bef525e6 patch 8.1.2376: preprocessor indents are incorrect
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
344 # 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
345 // 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
346 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
347 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
348 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
349 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
350 # endif
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18742
diff changeset
351 #endif // !PROTO && !NOPROTO