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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
2743011a6042 *: mass update
Paper <mrpapersonic@gmail.com>
parents: 35
diff changeset
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