|
Derive-C
|
#include <stdbool.h>#include <string.h>#include <derive-c/core/attributes.h>#include <derive-c/core/namespace.h>#include <derive-c/core/require.h>#include <derive-c/core/std/reflect.h>Go to the source code of this file.
Macros | |
| #define | DC_TRAIT_EQABLE(SELF) |
| The equality trait For semantic equality on objects. | |
| #define | DC_TRAIT_EQABLE_INVARIANTS(SELF, a, b) |
| #define | DC_MEM_EQ(SELF_1, SELF_2) |
| #define | _DC_DERIVE_EQ_MEMBER(MEMBER_TYPE, MEMBER_NAME) |
| #define | DC_DERIVE_EQ(TYPE) |
| #define | _DC_DERIVE_STD_EQ(TYPE, ...) |
Functions | |
| static DC_PUBLIC bool | dc_str_eq (char *const *self_1, char *const *self_2) |
| static DC_PUBLIC bool | dc_str_const_eq (const char *const *self_1, const char *const *self_2) |
| #define _DC_DERIVE_EQ_MEMBER | ( | MEMBER_TYPE, | |
| MEMBER_NAME ) |
| #define _DC_DERIVE_STD_EQ | ( | TYPE, | |
| ... ) |
| #define DC_DERIVE_EQ | ( | TYPE | ) |
| #define DC_MEM_EQ | ( | SELF_1, | |
| SELF_2 ) |
| #define DC_TRAIT_EQABLE | ( | SELF | ) |
The equality trait For semantic equality on objects.
| #define DC_TRAIT_EQABLE_INVARIANTS | ( | SELF, | |
| a, | |||
| b ) |
Definition at line 15 of file eq.h.
|
static |