1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-11 15:49:38 +00:00

Consciously uglify. These shouldn't look like functions.

This commit is contained in:
Thomas Harte 2024-12-06 16:03:24 -05:00
parent fd1bd3032f
commit 58ed63cd18

View File

@ -27,8 +27,8 @@ namespace Reflection {
#define DeclareField(Name) declare(&Name, #Name)
#define BeginDeclarations () void declare_fields() {
#define EndDeclarations () } \
#define BEGIN_DECLARATIONS void declare_fields() {
#define END_DECLARATIONS } \
struct Declarer { Declarer() { Target t; t.declare_fields(); } }; \
static Declarer declarer;