aboutsummaryrefslogtreecommitdiff
path: root/src/proto.h
blob: a2acc5a05f8ae789ccd4ca6f0b97b029fe8077b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* vi:set ts=8 sts=4 sw=4:
 *
 * 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 */
#  define Display int
#  define Widget int
#  define GdkEvent int
#  define GdkEventKey int
#  define XImage int

/* These prototypes cannot be produced automatically and conflict with
 * the old-style prototypes in message.c. */
int
smsg(char_u *, ...);

int
smsg_attr(int, char_u *, ...);

int
vim_snprintf_add(char *, size_t, char *, ...);

int
vim_snprintf(char *, size_t, char *, ...);

int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs);

#endif /* !PROTO && !NOPROTO */