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:
parent
fd1bd3032f
commit
58ed63cd18
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user