Derive-C
Loading...
Searching...
No Matches
struct.h File Reference
#include <derive-c/core.h>
Include dependency graph for struct.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DERIVE_STRUCT_MEMBER(t, n)
 
#define DERIVE_STRUCT(ID)
 

Macro Definition Documentation

◆ DERIVE_STRUCT

#define DERIVE_STRUCT ( ID)
Value:
typedef struct { \
NAME(ID, REFLECT)(DERIVE_STRUCT_MEMBER) \
} ID;
#define ID(type)
Definition hashers.h:17
#define DERIVE_STRUCT_MEMBER(t, n)
Definition struct.h:3

Definition at line 13 of file struct.h.

13#define DERIVE_STRUCT(ID) \
14 typedef struct { \
15 NAME(ID, REFLECT)(DERIVE_STRUCT_MEMBER) \
16 } ID;

◆ DERIVE_STRUCT_MEMBER

#define DERIVE_STRUCT_MEMBER ( t,
n )
Value:
t n;

Definition at line 3 of file struct.h.