☰
Debian Codegraph
@
1.9.9-690-gc6e7ab0-0.3
/
/
config
/
array_size.h
☽
☼
config/array_size.h
code
plain
raw
symbols
SCIP
GPL-2-only
2002 Roman Zippel <
[email protected]
>
debian/copyright
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef
ARRAY_SIZE_H
3
#define
ARRAY_SIZE_H
4
5
/**
6
* ARRAY_SIZE - get the number of elements in array @arr
7
* @arr: array to be sized
8
*/
9
#define
ARRAY_SIZE
(arr) (sizeof(arr) / sizeof((arr)[0]))
10
11
#endif
/* ARRAY_SIZE_H */