Mercurial > minori
comparison include/core/array.h @ 36:2743011a6042
*: mass update
formatted all source files, converted ALL instances of setStyleSheet() to
palettes and fonts (stylesheets suck), and I changed the clang-format file because
it wasn't working on my laptop for some reason.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 21 Sep 2023 15:17:47 -0400 |
parents | 329b7921a6be |
children |
comparison
equal
deleted
inserted
replaced
35:329b7921a6be | 36:2743011a6042 |
---|---|
1 #ifndef __core__array_h | 1 #ifndef __core__array_h |
2 #define __core__array_h | 2 #define __core__array_h |
3 | 3 |
4 #ifndef ARRAYSIZE | 4 #ifndef ARRAYSIZE |
5 #define ARRAYSIZE(x) \ | 5 # define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) |
6 (sizeof(x) / sizeof(x[0])) | |
7 #endif | 6 #endif |
8 | 7 |
9 #endif // __core__array_h | 8 #endif // __core__array_h |