diff options
author | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-07-06 17:27:09 +0200 |
---|---|---|
committer | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-07-16 19:05:34 +0200 |
commit | e288ddaee7d9c186c5829178691dbfac507d757d (patch) | |
tree | d5dc40d56100d1a6d8615848ab226d97e4b9c7d2 /src/nvim/pos.h | |
parent | fb72f1ee37872137c19297268e3cc2a05f27c357 (diff) | |
download | rneovim-e288ddaee7d9c186c5829178691dbfac507d757d.tar.gz rneovim-e288ddaee7d9c186c5829178691dbfac507d757d.tar.bz2 rneovim-e288ddaee7d9c186c5829178691dbfac507d757d.zip |
vim: move linenr_T and colnr_T to pos.h
Try to cut down vim.h's size. It's keeping us from testing more things.
Diffstat (limited to 'src/nvim/pos.h')
-rw-r--r-- | src/nvim/pos.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/pos.h b/src/nvim/pos.h index 11f62ad480..7cfb52b283 100644 --- a/src/nvim/pos.h +++ b/src/nvim/pos.h @@ -1,6 +1,12 @@ #ifndef NVIM_POS_H #define NVIM_POS_H +typedef long linenr_T; // line number type +typedef int colnr_T; // column number type + +#define MAXLNUM (0x7fffffffL) // maximum (invalid) line number +#define MAXCOL (0x7fffffffL) // maximum column number, 31 bits + /* * position in file or buffer */ |