BFC-Compiler
A C23 Brainfuck compiler
Loading...
Searching...
No Matches
bfc_common.h File Reference

Common compile-time utility macros. More...

Go to the source code of this file.

Macros

#define BFC_ARRAY_LENGTH(array)
 Returns the number of elements in an actual array.

Detailed Description

Common compile-time utility macros.

Contains small utilities shared across otherwise independent compiler modules.

Macro Definition Documentation

◆ BFC_ARRAY_LENGTH

#define BFC_ARRAY_LENGTH ( array)
Value:
(sizeof(array) / sizeof((array)[0]))

Returns the number of elements in an actual array.

Note
The argument must be an array expression, not a pointer.