Add bzArrayFor helper macro
This commit is contained in:
@@ -51,4 +51,6 @@ do { \
|
||||
#define bzArraySet(arr, idx, e) (arr)[_bzArraySet(arr, idx)] = e
|
||||
#define bzArrayPop(arr) (arr)[_bzArrayPop(arr)]
|
||||
|
||||
#define bzArrayFor(arr, it) for (i32 it = 0; it < bzArraySize(arr); it++)
|
||||
|
||||
#endif //BREEZE_ARRAY_H
|
||||
|
||||
Reference in New Issue
Block a user