mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Rename INBOUNDS() macro to INBOUNDS_VEC()
Since there's an INBOUNDS_ARR() macro, it's much better to specify the macro for the vector is a macro for the vector, to avoid confusion. All usages of this macro have been renamed accordingly.
This commit is contained in:
@@ -17,7 +17,7 @@ bool is_positive_num(const std::string& str, bool hex);
|
||||
|
||||
bool endsWith(const std::string& str, const std::string& suffix);
|
||||
|
||||
#define INBOUNDS(index, vector) ((int) index >= 0 && (int) index < (int) vector.size())
|
||||
#define INBOUNDS_VEC(index, vector) ((int) index >= 0 && (int) index < (int) vector.size())
|
||||
#define INBOUNDS_ARR(index, array) ((int) index >= 0 && (int) index < (int) SDL_arraysize(array))
|
||||
|
||||
#define WHINE_ONCE(message) \
|
||||
|
||||
Reference in New Issue
Block a user