MGE General C Library - Full Internal Documentation
v1.3.5
Library of general C functions.
|
Non-public general header file. More...
#include <portability.h>
Go to the source code of this file.
Macros | |
#define | ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) |
A simple macro to standardise on the preferred method of determining the size of an array. More... | |
Non-public general header file.
No distribution required.
Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0
#define ARRAY_SIZE | ( | x | ) | (sizeof(x) / sizeof((x)[0])) |
A simple macro to standardise on the preferred method of determining the size of an array.