mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 21:20:28 +01:00
pch migration to modules [wip]
This commit is contained in:
15
application/driverhints_texts.h
Normal file
15
application/driverhints_texts.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
// The hint texts are built by re-expanding the X-macro list with a different
|
||||
// DRIVER_HINT_DEF. A module cannot do that on a consumer's behalf -- the macro
|
||||
// state would not cross the boundary -- so this stays a plain header, included
|
||||
// in the global module fragment of the single translation unit that needs it.
|
||||
|
||||
#define DRIVER_HINT_DEF(a, b) b,
|
||||
|
||||
const char *driver_hints_texts[] =
|
||||
{
|
||||
#include "application/driverhints_def.h"
|
||||
};
|
||||
|
||||
#undef DRIVER_HINT_DEF
|
||||
Reference in New Issue
Block a user