Go to the source code of this file.
◆ DERIVE_CLONE
#define DERIVE_CLONE |
( |
| ID | ) |
|
Value:
#define DERIVE_CLONE_MEMBER(t, n)
Definition at line 13 of file clone.h.
13#define DERIVE_CLONE(ID) \
14 ID NAME(ID, clone)(ID const* self) { return (ID){NAME(ID, REFLECT)(DERIVE_CLONE_MEMBER)}; }
◆ DERIVE_CLONE_MEMBER
#define DERIVE_CLONE_MEMBER |
( |
| t, |
|
|
| n ) |
Value:.n =
NAME(t, clone)(&self->n),
Definition at line 3 of file clone.h.