17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 06:19:19 +02:00
Files
maszyna/application/driverhints.h
jerrrrycho 7fc738fb58 refactor(sonar): make read-only global tables const (cpp:S5421)
Mutable global state (flags, timers, singletons) is left as is.
2026-10-10 20:44:54 +02:00

22 lines
372 B
C

#ifndef DRIVER_HINT_INCL
#define DRIVER_HINT_INCL
#define DRIVER_HINT_DEF(a, b) a,
enum class driver_hint {
#include "application/driverhints_def.h"
};
#undef DRIVER_HINT_DEF
#endif
#ifdef DRIVER_HINT_CONTENT
#define DRIVER_HINT_DEF(a, b) b,
const char *const driver_hints_texts[] =
{
#include "application/driverhints_def.h"
};
#undef DRIVER_HINT_DEF
#endif