| 
									
										
										
										
											2016-08-29 22:49:24 +02:00
										 |  |  | /* vi:set ts=8 sts=4 sw=4 noet:
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  |  * | 
					
						
							|  |  |  |  * VIM - Vi IMproved	by Bram Moolenaar | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Do ":help uganda"  in Vim to read copying and usage conditions. | 
					
						
							|  |  |  |  * Do ":help credits" in Vim to see a list of people who contributed. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*
 | 
					
						
							|  |  |  |  * proto.h: include the (automatically generated) function prototypes | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*
 | 
					
						
							|  |  |  |  * Don't include these while generating prototypes.  Prevents problems when | 
					
						
							|  |  |  |  * files are missing. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #if !defined(PROTO) && !defined(NOPROTO)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*
 | 
					
						
							|  |  |  |  * Machine-dependent routines. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | /* avoid errors in function prototypes */ | 
					
						
							| 
									
										
										
										
											2005-12-06 19:50:41 +00:00
										 |  |  | # if !defined(FEAT_X11) && !defined(FEAT_GUI_GTK)
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #  define Display int
 | 
					
						
							|  |  |  | #  define Widget int
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | # ifndef FEAT_GUI_GTK
 | 
					
						
							|  |  |  | #  define GdkEvent int
 | 
					
						
							|  |  |  | #  define GdkEventKey int
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | # ifndef FEAT_X11
 | 
					
						
							|  |  |  | #  define XImage int
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # ifdef AMIGA
 | 
					
						
							|  |  |  | #  include "os_amiga.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2016-07-16 14:47:36 +02:00
										 |  |  | # if defined(UNIX) || defined(VMS)
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #  include "os_unix.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2019-02-17 17:44:42 +01:00
										 |  |  | # ifdef MSWIN
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #  include "os_win32.pro"
 | 
					
						
							|  |  |  | #  include "os_mswin.pro"
 | 
					
						
							| 
									
										
										
										
											2013-02-26 14:56:42 +01:00
										 |  |  | #  include "winclip.pro"
 | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | #  if (defined(__GNUC__) && !defined(__MINGW32__))
 | 
					
						
							| 
									
										
										
										
											2016-01-29 23:20:40 +01:00
										 |  |  | extern int _stricoll(char *a, char *b); | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #  endif
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | # ifdef VMS
 | 
					
						
							|  |  |  | #  include "os_vms.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | # ifdef __BEOS__
 | 
					
						
							|  |  |  | #  include "os_beos.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | # ifdef __QNX__
 | 
					
						
							|  |  |  | #  include "os_qnx.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-05-16 22:32:54 +02:00
										 |  |  | # ifdef FEAT_CRYPT
 | 
					
						
							|  |  |  | #  include "blowfish.pro"
 | 
					
						
							| 
									
										
										
										
											2014-08-10 13:38:34 +02:00
										 |  |  | #  include "crypt.pro"
 | 
					
						
							|  |  |  | #  include "crypt_zip.pro"
 | 
					
						
							| 
									
										
										
										
											2010-05-16 22:32:54 +02:00
										 |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2019-01-26 16:21:07 +01:00
										 |  |  | # include "autocmd.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "buffer.pro"
 | 
					
						
							|  |  |  | # include "charset.pro"
 | 
					
						
							|  |  |  | # ifdef FEAT_CSCOPE
 | 
					
						
							|  |  |  | #  include "if_cscope.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2019-04-21 11:35:00 +02:00
										 |  |  | # include "debugger.pro"
 | 
					
						
							| 
									
										
										
										
											2016-07-17 15:06:51 +02:00
										 |  |  | # include "dict.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "diff.pro"
 | 
					
						
							|  |  |  | # include "digraph.pro"
 | 
					
						
							|  |  |  | # include "edit.pro"
 | 
					
						
							|  |  |  | # include "eval.pro"
 | 
					
						
							| 
									
										
										
										
											2016-07-17 22:13:49 +02:00
										 |  |  | # include "evalfunc.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "ex_cmds.pro"
 | 
					
						
							|  |  |  | # include "ex_cmds2.pro"
 | 
					
						
							|  |  |  | # include "ex_docmd.pro"
 | 
					
						
							|  |  |  | # include "ex_eval.pro"
 | 
					
						
							|  |  |  | # include "ex_getln.pro"
 | 
					
						
							|  |  |  | # include "fileio.pro"
 | 
					
						
							| 
									
										
										
										
											2019-02-13 23:13:28 +01:00
										 |  |  | # include "findfile.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "fold.pro"
 | 
					
						
							|  |  |  | # include "getchar.pro"
 | 
					
						
							|  |  |  | # ifdef FEAT_HANGULIN
 | 
					
						
							|  |  |  | #  include "hangulin.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2005-07-23 22:25:46 +00:00
										 |  |  | # include "hardcopy.pro"
 | 
					
						
							| 
									
										
										
										
											2006-03-24 22:21:52 +00:00
										 |  |  | # include "hashtab.pro"
 | 
					
						
							| 
									
										
										
										
											2019-01-31 13:48:09 +01:00
										 |  |  | # include "indent.pro"
 | 
					
						
							| 
									
										
										
										
											2019-03-30 13:53:47 +01:00
										 |  |  | # ifdef FEAT_INS_EXPAND
 | 
					
						
							|  |  |  | # include "insexpand.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2016-01-23 19:46:28 +01:00
										 |  |  | # include "json.pro"
 | 
					
						
							| 
									
										
										
										
											2016-07-17 15:46:27 +02:00
										 |  |  | # include "list.pro"
 | 
					
						
							| 
									
										
										
										
											2019-01-12 22:47:31 +01:00
										 |  |  | # include "blob.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "main.pro"
 | 
					
						
							|  |  |  | # include "mark.pro"
 | 
					
						
							| 
									
										
										
										
											2005-05-19 20:53:52 +00:00
										 |  |  | # include "memfile.pro"
 | 
					
						
							|  |  |  | # include "memline.pro"
 | 
					
						
							|  |  |  | # ifdef FEAT_MENU
 | 
					
						
							|  |  |  | #  include "menu.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2016-07-02 20:27:50 +02:00
										 |  |  | # ifdef FEAT_ARABIC
 | 
					
						
							|  |  |  | #  include "arabic.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2005-05-19 20:53:52 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-30 21:48:49 +01:00
										 |  |  | /* These prototypes cannot be produced automatically. */ | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | int smsg(const char *, ...) | 
					
						
							| 
									
										
										
										
											2019-01-15 20:19:40 +01:00
										 |  |  | #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
 | 
					
						
							|  |  |  |     __attribute__((format(printf, 1, 0))) | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  |     ; | 
					
						
							| 
									
										
										
										
											2010-06-27 01:15:55 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | int smsg_attr(int, const char *, ...) | 
					
						
							| 
									
										
										
										
											2019-01-15 20:19:40 +01:00
										 |  |  | #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
 | 
					
						
							|  |  |  |     __attribute__((format(printf, 2, 3))) | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  |     ; | 
					
						
							| 
									
										
										
										
											2010-06-27 01:15:55 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | int smsg_attr_keep(int, const char *, ...) | 
					
						
							| 
									
										
										
										
											2019-01-15 20:19:40 +01:00
										 |  |  | #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
 | 
					
						
							|  |  |  |     __attribute__((format(printf, 2, 3))) | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  |     ; | 
					
						
							| 
									
										
										
										
											2018-07-01 16:44:03 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-19 21:34:05 +01:00
										 |  |  | /* These prototypes cannot be produced automatically. */ | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | int semsg(const char *, ...) | 
					
						
							| 
									
										
										
										
											2019-02-19 21:34:05 +01:00
										 |  |  | #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
 | 
					
						
							|  |  |  |     __attribute__((format(printf, 1, 0))) | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  |     ; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* These prototypes cannot be produced automatically. */ | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | void siemsg(const char *, ...) | 
					
						
							| 
									
										
										
										
											2019-02-19 21:34:05 +01:00
										 |  |  | #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
 | 
					
						
							|  |  |  |     __attribute__((format(printf, 1, 0))) | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  |     ; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | int vim_snprintf_add(char *, size_t, const char *, ...) | 
					
						
							| 
									
										
										
										
											2018-04-10 12:42:44 +02:00
										 |  |  | #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
 | 
					
						
							| 
									
										
										
										
											2018-04-08 13:07:22 +02:00
										 |  |  |     __attribute__((format(printf, 3, 4))) | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  |     ; | 
					
						
							| 
									
										
										
										
											2010-06-27 01:15:55 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | int vim_snprintf(char *, size_t, const char *, ...) | 
					
						
							| 
									
										
										
										
											2018-04-10 12:42:44 +02:00
										 |  |  | #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
 | 
					
						
							| 
									
										
										
										
											2018-04-08 13:07:22 +02:00
										 |  |  |     __attribute__((format(printf, 3, 4))) | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  |     ; | 
					
						
							| 
									
										
										
										
											2010-06-27 01:15:55 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-13 23:38:42 +01:00
										 |  |  | int vim_vsnprintf(char *str, size_t str_m, const char *fmt, va_list ap); | 
					
						
							|  |  |  | int vim_vsnprintf_typval(char *str, size_t str_m, const char *fmt, va_list ap, typval_T *tvs); | 
					
						
							| 
									
										
										
										
											2005-05-19 20:53:52 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "message.pro"
 | 
					
						
							|  |  |  | # include "misc1.pro"
 | 
					
						
							|  |  |  | # include "misc2.pro"
 | 
					
						
							|  |  |  | #ifndef HAVE_STRPBRK	    /* not generated automatically from misc2.c */
 | 
					
						
							| 
									
										
										
										
											2016-01-29 23:20:40 +01:00
										 |  |  | char_u *vim_strpbrk(char_u *s, char_u *charset); | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef HAVE_QSORT
 | 
					
						
							|  |  |  | /* Use our own qsort(), don't define the prototype when not used. */ | 
					
						
							| 
									
										
										
										
											2016-01-29 23:20:40 +01:00
										 |  |  | void qsort(void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *)); | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | # include "move.pro"
 | 
					
						
							| 
									
										
										
										
											2019-01-24 17:18:42 +01:00
										 |  |  | # include "mbyte.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "normal.pro"
 | 
					
						
							|  |  |  | # include "ops.pro"
 | 
					
						
							|  |  |  | # include "option.pro"
 | 
					
						
							| 
									
										
										
										
											2006-03-24 22:21:52 +00:00
										 |  |  | # include "popupmnu.pro"
 | 
					
						
							|  |  |  | # ifdef FEAT_QUICKFIX
 | 
					
						
							|  |  |  | #  include "quickfix.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "regexp.pro"
 | 
					
						
							|  |  |  | # include "screen.pro"
 | 
					
						
							| 
									
										
										
										
											2010-06-13 05:20:42 +02:00
										 |  |  | # if defined(FEAT_CRYPT) || defined(FEAT_PERSISTENT_UNDO)
 | 
					
						
							| 
									
										
										
										
											2010-05-16 22:32:54 +02:00
										 |  |  | #  include "sha256.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "search.pro"
 | 
					
						
							| 
									
										
										
										
											2019-01-01 13:20:31 +01:00
										 |  |  | # ifdef FEAT_SIGNS
 | 
					
						
							| 
									
										
										
										
											2019-05-09 15:12:55 +02:00
										 |  |  | #  include "sign.pro"
 | 
					
						
							| 
									
										
										
										
											2019-01-01 13:20:31 +01:00
										 |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2005-03-20 22:25:45 +00:00
										 |  |  | # include "spell.pro"
 | 
					
						
							| 
									
										
										
										
											2016-07-19 16:39:08 +02:00
										 |  |  | # include "spellfile.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "syntax.pro"
 | 
					
						
							|  |  |  | # include "tag.pro"
 | 
					
						
							|  |  |  | # include "term.pro"
 | 
					
						
							| 
									
										
										
										
											2017-07-07 11:54:15 +02:00
										 |  |  | # ifdef FEAT_TERMINAL
 | 
					
						
							|  |  |  | #  include "terminal.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
 | 
					
						
							|  |  |  | #  include "termlib.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2018-12-13 22:20:09 +01:00
										 |  |  | # ifdef FEAT_TEXT_PROP
 | 
					
						
							|  |  |  | #  include "textprop.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "ui.pro"
 | 
					
						
							|  |  |  | # include "undo.pro"
 | 
					
						
							| 
									
										
										
										
											2019-04-27 13:04:13 +02:00
										 |  |  | # include "usercmd.pro"
 | 
					
						
							| 
									
										
										
										
											2016-07-17 18:29:19 +02:00
										 |  |  | # include "userfunc.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # include "version.pro"
 | 
					
						
							|  |  |  | # include "window.pro"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-07-14 23:23:17 +02:00
										 |  |  | # ifdef FEAT_LUA
 | 
					
						
							|  |  |  | #  include "if_lua.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-05 15:58:32 +00:00
										 |  |  | # ifdef FEAT_MZSCHEME
 | 
					
						
							|  |  |  | #  include "if_mzsch.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # ifdef FEAT_PYTHON
 | 
					
						
							|  |  |  | #  include "if_python.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-07-17 21:19:38 +02:00
										 |  |  | # ifdef FEAT_PYTHON3
 | 
					
						
							|  |  |  | #  include "if_python3.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | # ifdef FEAT_TCL
 | 
					
						
							|  |  |  | #  include "if_tcl.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # ifdef FEAT_RUBY
 | 
					
						
							|  |  |  | #  include "if_ruby.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-05-22 18:28:27 +02:00
										 |  |  | /* Ugly solution for "BalloonEval" not being defined while it's used in some
 | 
					
						
							|  |  |  |  * .pro files. */ | 
					
						
							| 
									
										
										
										
											2017-11-19 20:34:59 +01:00
										 |  |  | # ifdef FEAT_BEVAL
 | 
					
						
							|  |  |  | #  include "beval.pro"
 | 
					
						
							|  |  |  | # else
 | 
					
						
							| 
									
										
										
										
											2010-05-22 18:28:27 +02:00
										 |  |  | #  define BalloonEval int
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # ifdef FEAT_NETBEANS_INTG
 | 
					
						
							|  |  |  | #  include "netbeans.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2016-03-11 22:52:15 +01:00
										 |  |  | # ifdef FEAT_JOB_CHANNEL
 | 
					
						
							| 
									
										
										
										
											2016-01-24 20:36:41 +01:00
										 |  |  | #  include "channel.pro"
 | 
					
						
							| 
									
										
										
										
											2018-04-08 13:07:22 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* Not generated automatically, to add extra attribute. */ | 
					
						
							|  |  |  | void ch_log(channel_T *ch, const char *fmt, ...) | 
					
						
							| 
									
										
										
										
											2018-04-10 12:42:44 +02:00
										 |  |  | #ifdef USE_PRINTF_FORMAT_ATTRIBUTE
 | 
					
						
							| 
									
										
										
										
											2018-04-08 13:07:22 +02:00
										 |  |  |     __attribute__((format(printf, 2, 3))) | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  |     ; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-24 20:36:41 +01:00
										 |  |  | # endif
 | 
					
						
							| 
									
										
										
										
											2010-05-22 18:28:27 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-22 21:11:53 +02:00
										 |  |  | # if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL)
 | 
					
						
							| 
									
										
										
										
											2019-01-22 21:45:40 +01:00
										 |  |  | #  if defined(UNIX) || defined(MACOS_X) || defined(VMS)
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #   include "pty.pro"
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							| 
									
										
										
										
											2017-07-22 21:11:53 +02:00
										 |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # ifdef FEAT_GUI
 | 
					
						
							|  |  |  | #  include "gui.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #  if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) && !defined(VMS)
 | 
					
						
							| 
									
										
										
										
											2017-07-22 21:11:53 +02:00
										 |  |  | extern int putenv(const char *string);			/* in misc2.c */ | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #   ifdef USE_VIMPTY_GETENV
 | 
					
						
							| 
									
										
										
										
											2017-07-22 21:11:53 +02:00
										 |  |  | extern char_u *vimpty_getenv(const char_u *string);	/* in misc2.c */ | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #   endif
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							| 
									
										
										
										
											2019-02-17 17:44:42 +01:00
										 |  |  | #  ifdef FEAT_GUI_MSWIN
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #   include "gui_w32.pro"
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							|  |  |  | #  ifdef FEAT_GUI_GTK
 | 
					
						
							|  |  |  | #   include "gui_gtk.pro"
 | 
					
						
							|  |  |  | #   include "gui_gtk_x11.pro"
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							|  |  |  | #  ifdef FEAT_GUI_MOTIF
 | 
					
						
							|  |  |  | #   include "gui_motif.pro"
 | 
					
						
							| 
									
										
										
										
											2004-12-31 20:56:11 +00:00
										 |  |  | #   include "gui_xmdlg.pro"
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #  endif
 | 
					
						
							|  |  |  | #  ifdef FEAT_GUI_ATHENA
 | 
					
						
							|  |  |  | #   include "gui_athena.pro"
 | 
					
						
							|  |  |  | #   ifdef FEAT_BROWSE
 | 
					
						
							| 
									
										
										
										
											2016-01-29 23:20:40 +01:00
										 |  |  | 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); | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #   endif
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							|  |  |  | #  ifdef FEAT_GUI_MAC
 | 
					
						
							|  |  |  | #   include "gui_mac.pro"
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							|  |  |  | #  ifdef FEAT_GUI_X11
 | 
					
						
							|  |  |  | #   include "gui_x11.pro"
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							|  |  |  | #  ifdef FEAT_GUI_PHOTON
 | 
					
						
							|  |  |  | #   include "gui_photon.pro"
 | 
					
						
							|  |  |  | #  endif
 | 
					
						
							|  |  |  | # endif	/* FEAT_GUI */
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # ifdef FEAT_OLE
 | 
					
						
							|  |  |  | #  include "if_ole.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
 | 
					
						
							|  |  |  | #  include "if_xcmdsrv.pro"
 | 
					
						
							|  |  |  | # endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2005-10-03 21:52:09 +00:00
										 |  |  |  * The perl include files pollute the namespace, therefore proto.h must be | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  |  * included before the perl include files.  But then CV is not defined, which | 
					
						
							|  |  |  |  * is used in if_perl.pro.  To get around this, the perl prototype files are | 
					
						
							|  |  |  |  * not included here for the perl files.  Use a dummy define for CV for the | 
					
						
							|  |  |  |  * other files. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #if defined(FEAT_PERL) && !defined(IN_PERL_FILE)
 | 
					
						
							|  |  |  | # define CV void
 | 
					
						
							|  |  |  | # include "if_perl.pro"
 | 
					
						
							|  |  |  | # include "if_perlsfio.pro"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-03-15 22:48:35 +00:00
										 |  |  | #ifdef MACOS_CONVERT
 | 
					
						
							| 
									
										
										
										
											2005-08-30 21:55:26 +00:00
										 |  |  | # include "os_mac_conv.pro"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2017-10-28 21:11:06 +02:00
										 |  |  | #if defined(MACOS_X_DARWIN) && defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
 | 
					
						
							| 
									
										
										
										
											2010-07-14 14:28:26 +02:00
										 |  |  | /* functions in os_macosx.m */ | 
					
						
							|  |  |  | void clip_mch_lose_selection(VimClipboard *cbd); | 
					
						
							|  |  |  | int clip_mch_own_selection(VimClipboard *cbd); | 
					
						
							|  |  |  | void clip_mch_request_selection(VimClipboard *cbd); | 
					
						
							|  |  |  | void clip_mch_set_selection(VimClipboard *cbd); | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | #endif /* !PROTO && !NOPROTO */
 |