Add some eol to clean up representation

This commit is contained in:
Patrick Pelissier committed 2017-06-23 00:23:18 +02:00
1 parent 5c35411f43
commit d382a1d0fa
1 file changed
+5
+5
View File
@@ -165,6 +165,7 @@
VARIANTI_GET_CLEAR a (my -> value. VARIANTI_GET_FIELD a); \
break;
#define VARIANTI_DEFINE_TEST_P(name, ...) \
static inline bool M_C(name, _empty_p)(M_C(name,_t) my) { \
return my->type == M_C(name, _EMPTY); \
@@ -209,6 +210,7 @@
return &my -> value . VARIANTI_GET_FIELD a; \
}
#define VARIANTI_DEFINE_EQUAL(name, ...) \
static inline bool M_C(name, _equal_p)(M_C(name,_t) const e1 , \
M_C(name,_t) const e2) { \
@@ -352,6 +354,7 @@
VARIANTI_GET_OUT_STR a (f, el -> value . VARIANTI_GET_FIELD a); \
break;
#define VARIANTI_DEFINE_IN_STR(name, ...) \
static inline bool M_C(name, _in_str)(M_C(name,_t) el, \
FILE *f) { \
@@ -385,6 +388,7 @@
if (!b) return false; \
}
#define VARIANTI_DEFINE_CLEAN_FUNC(name, ...) \
static inline void M_C(name, _clean)(M_C(name,_t) my) \
{ \
@@ -392,6 +396,7 @@
M_C(name, _init)(my); \
} \
#define VARIANTI_OPLIST(name, ...) \
(INIT(M_C(name,_init)), \
INIT_SET(M_C(name, _init_set)), \