macros: Rename LAST_ARRAY_ENTRY to ARRAY_LAST_ENTRY

This commit is contained in:
ZyX
2017-01-11 20:56:45 +03:00
parent 0bfc91be96
commit 7941aaa3bf
2 changed files with 3 additions and 3 deletions

View File

@@ -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)