diff options
author | ZyX <kp-pav@yandex.ru> | 2017-01-11 20:56:45 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-03-27 01:33:59 +0300 |
commit | 7941aaa3bf1acfff4fcf910c76186252e9ae3f6c (patch) | |
tree | 4efb11970db0060ffce1d652c99e1fc20a3233fc /src/nvim/macros.h | |
parent | 0bfc91be9642eae6a456d0bf88ca609dcc178fa5 (diff) | |
download | rneovim-7941aaa3bf1acfff4fcf910c76186252e9ae3f6c.tar.gz rneovim-7941aaa3bf1acfff4fcf910c76186252e9ae3f6c.tar.bz2 rneovim-7941aaa3bf1acfff4fcf910c76186252e9ae3f6c.zip |
macros: Rename LAST_ARRAY_ENTRY to ARRAY_LAST_ENTRY
Diffstat (limited to 'src/nvim/macros.h')
-rw-r--r-- | src/nvim/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/macros.h b/src/nvim/macros.h index e802ba2aed..348df2d9b6 100644 --- a/src/nvim/macros.h +++ b/src/nvim/macros.h @@ -150,7 +150,7 @@ /// /// This should be called with a real array. Calling this with a pointer is an /// error. -#define LAST_ARRAY_ENTRY(arr) (arr)[ARRAY_SIZE(arr) - 1] +#define ARRAY_LAST_ENTRY(arr) (arr)[ARRAY_SIZE(arr) - 1] // Duplicated in os/win_defs.h to avoid include-order sensitivity. #define RGB_(r, g, b) ((r << 16) | (g << 8) | b) |