annotate include/core/array.h @ 25:d9a93499717a

ci/win32: fix stupid missing double quote :')
author Paper <mrpapersonic@gmail.com>
date Tue, 19 Sep 2023 23:59:20 -0400
parents 8a4122caaf2f
children 329b7921a6be
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 #ifndef __core__array_h
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 #define __core__array_h
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3
20
8a4122caaf2f *: redefine ARRAYSIZE on platforms that don't include it
Paper <mrpapersonic@gmail.com>
parents: 19
diff changeset
4 #ifndef ARRAYSIZE
19
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 #define ARRAYSIZE(x) \
20
8a4122caaf2f *: redefine ARRAYSIZE on platforms that don't include it
Paper <mrpapersonic@gmail.com>
parents: 19
diff changeset
6 (sizeof(x) / sizeof(x[0]))
8a4122caaf2f *: redefine ARRAYSIZE on platforms that don't include it
Paper <mrpapersonic@gmail.com>
parents: 19
diff changeset
7 #endif
19
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8
d05b1be2f3a6 anime_list.cpp: fix build failures on linux
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 #endif // __core__array_h