diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-12 02:25:17 +0200 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-05-15 20:46:01 +0200 |
commit | da51dc9cf202772f60bd2da975dbef257bd9237c (patch) | |
tree | 5c16b93238a153f55634e9323077f30c8133970c /src/nvim/proto.h | |
parent | ffe61e5ba1721340ca51d56bae3ddaca415fb5bc (diff) | |
download | rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.gz rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.tar.bz2 rneovim-da51dc9cf202772f60bd2da975dbef257bd9237c.zip |
Introduce nvim namespace: Move files.
Move files from src/ to src/nvim/.
- src/nvim/ becomes the new root dir for nvim executable sources.
- src/libnvim/ is planned to become root dir of the neovim library.
Diffstat (limited to 'src/nvim/proto.h')
-rw-r--r-- | src/nvim/proto.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/nvim/proto.h b/src/nvim/proto.h new file mode 100644 index 0000000000..0177b52f28 --- /dev/null +++ b/src/nvim/proto.h @@ -0,0 +1,49 @@ +#ifndef NEOVIM_PROTO_H +#define NEOVIM_PROTO_H + +/* + * 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 */ + +#endif // NEOVIM_PROTO_H |