Mercurial > minori
annotate include/core/array.h @ 70:64e5f427c6a2
services/anilist: remove unordered_map usage for enum classes
for some reason in C++11 unordered_maps don't work on enumerations.
so instead we'll just use a switch statement :P
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Tue, 03 Oct 2023 04:45:05 -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 |
