#include <derive-c/core.h>
#include <stdbool.h>
Go to the source code of this file.
◆ DERIVE_EQ
Value: bool NAME(
ID, eq)(
ID const* self_1,
ID const* self_2) { \
}
#define DERIVE_EQ_MEMBER(t, n)
Definition at line 6 of file eq.h.
6#define DERIVE_EQ(ID) \
7 bool NAME(ID, eq)(ID const* self_1, ID const* self_2) { \
8 return true NAME(ID, REFLECT)(DERIVE_EQ_MEMBER); \
9 }
◆ DERIVE_EQ_MEMBER
#define DERIVE_EQ_MEMBER |
( |
| t, |
|
|
| n ) |
Value:&&
NAME(t, eq)(&self_1->n, &self_2->n)
Definition at line 4 of file eq.h.