Rename string_ into m_string_ in header files (Test files still test classic API)

This commit is contained in:
Patrick Pelissier committed 2022-03-20 18:30:32 +01:00
1 parent f3376b6f0e
commit 5e57338928
12 files changed
+89 -89

No files matched your search

+4 -4
View File
@@ -517,19 +517,19 @@
/* Define the GET_STR function */
#define M_VAR1ANT_DEFINE_GET_STR(name, ...) \
static inline void M_C(name, _get_str)(string_t str, \
static inline void M_C(name, _get_str)(m_string_t str, \
M_C(name,_ct) const el, \
bool append) { \
M_VAR1ANT_CONTRACT(name, el); \
M_ASSERT (str != NULL); \
void (*func)(string_t, const char *); \
func = append ? string_cat_str : string_set_str; \
void (*func)(m_string_t, const char *); \
func = append ? m_string_cat_str : m_string_set_str; \
switch (el->type) { \
case M_C(name, _EMPTY): func(str, "@EMPTY@"); break; \
M_MAP2(M_VAR1ANT_DEFINE_GET_STR_FUNC , name, __VA_ARGS__) \
default: M_ASSERT(false); break; \
} \
string_push_back (str, '@'); \
m_string_push_back (str, '@'); \
}
#define M_VAR1ANT_DEFINE_GET_STR_FUNC(name, a) \