Use of new initializer macro

This commit is contained in:
Patrick Pelissier committed 2021-07-01 22:12:15 +02:00
1 parent 154b503bc6
commit dedb79dbc5
4 files changed
+18 -4

No files matched your search

+8 -1
View File
@@ -87,7 +87,7 @@
#define M_L1ST_OPLIST_P3(name, oplist) \
(INIT(M_C(name, _init)), \
INIT_SET(M_C(name, _init_set)), \
INIT_WITH(API_1(M_INIT_VAI)), \
INIT_WITH(API_1(M_INIT_WITH_VAI)), \
SET(M_C(name, _set)), \
CLEAR(M_C(name, _clear)), \
MOVE(M_C(name, _move)), \
@@ -990,6 +990,13 @@
return ret; \
} \
\
/* Internal, for INIT_WITH */ \
static inline type * \
M_C(name, _push_raw)(list_t d) \
{ \
return M_C(name, _push_back_raw)(d); \
} \
\
static inline void \
M_C(name, _push_back)(list_t v, type const x) \
{ \