diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-07-16 17:07:58 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-16 17:07:58 -0400 |
commit | 0897277af8ef283e5a6f28d69cf21a3d22e5b8b2 (patch) | |
tree | 47a2797793b037e5badc28a7332c3a4ec314466c /src/nvim/vim.h | |
parent | 90a206d3321dcf8b1ad362501cada5e80135891c (diff) | |
parent | 7c6079f6f0d0fc59dd747c2ecd9e1e1ca1e0e66d (diff) | |
download | rneovim-0897277af8ef283e5a6f28d69cf21a3d22e5b8b2.tar.gz rneovim-0897277af8ef283e5a6f28d69cf21a3d22e5b8b2.tar.bz2 rneovim-0897277af8ef283e5a6f28d69cf21a3d22e5b8b2.zip |
Merge pull request #941 from aktau/improve-luajit-ffi-preproc
refactor includes + improve testing infrastructure
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r-- | src/nvim/vim.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 63b9436da7..e324a8bedc 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -9,6 +9,7 @@ # define NVIM_VIM_H #include "nvim/types.h" +#include "nvim/pos.h" // for linenr_T, MAXCOL, etc... /* Some defines from the old feature.h */ #define SESSION_FILE "Session.vim" @@ -58,11 +59,6 @@ Error: configure did not run properly.Check auto/config.log. #define NUMBUFLEN 30 /* length of a buffer to store a number in ASCII */ -// Make sure long_u is big enough to hold a pointer. -// On Win64, longs are 32 bits and pointers are 64 bits. -// For printf() and scanf(), we need to take care of long_u specifically. -typedef unsigned long long_u; - # define MAX_TYPENR 65535 /* @@ -359,18 +355,9 @@ enum { #define PERROR(msg) \ (void) emsg3((char_u *) "%s: %s", (char_u *)msg, (char_u *)strerror(errno)) -typedef long linenr_T; /* line number type */ -typedef int colnr_T; /* column number type */ -typedef unsigned short disptick_T; /* display tick type */ - -#define MAXLNUM (0x7fffffffL) /* maximum (invalid) line number */ -#define MAXCOL (0x7fffffffL) /* maximum column number, 31 bits */ - #define SHOWCMD_COLS 10 /* columns needed by shown command */ #define STL_MAX_ITEM 80 /* max nr of %<flag> in statusline */ -typedef void *vim_acl_T; /* dummy to pass an ACL to a function */ - /* * fnamecmp() is used to compare file names. * On some systems case in a file name does not matter, on others it does. |