Mercurial > minori
annotate include/core/array.h @ 68:2417121d894e
*: normalize usage of layouts
before, I used them two ways, once was by setting the layout later
by using setLayout(QWidget), and the other was just using the constructor.
I find the constructor to be easier to read, so I chose that one.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 02 Oct 2023 21:33:25 -0400 |
parents | 2743011a6042 |
children |
rev | line source |
---|---|
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
20
diff
changeset
|
1 #ifndef __core__array_h |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
20
diff
changeset
|
2 #define __core__array_h |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
20
diff
changeset
|
3 |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
20
diff
changeset
|
4 #ifndef ARRAYSIZE |
36 | 5 # define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) |
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
20
diff
changeset
|
6 #endif |
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
20
diff
changeset
|
7 |
19
d05b1be2f3a6
anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
8 #endif // __core__array_h |