mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-15 14:27:29 +00:00
Consciously uglify. These shouldn't look like functions.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user