Fix broken code due to previous commits.
This commit is contained in:
1 parent
778bc4072b
commit
2089af8fd3
3 files changed
+7
-7
No files matched your search
@@ -629,7 +629,7 @@
|
||||
M_C(name, _get_str)(string_t str, array_t array, \
|
||||
bool append) \
|
||||
{ \
|
||||
STRING_CONTRACT(str); \
|
||||
STRINGI_CONTRACT(str); \
|
||||
ARRAYI_CONTRACT(array); \
|
||||
(append ? string_cat_str : string_set_str) (str, "["); \
|
||||
array_it_t it; \
|
||||
@@ -642,7 +642,7 @@
|
||||
string_push_back (str, M_GET_SEPARATOR oplist); \
|
||||
} \
|
||||
string_push_back (str, ']'); \
|
||||
STRING_CONTRACT(str); \
|
||||
STRINGI_CONTRACT(str); \
|
||||
} \
|
||||
, /* no GET_STR */ ) \
|
||||
\
|
||||
|
||||
@@ -645,7 +645,7 @@
|
||||
static inline void \
|
||||
M_C(name, _get_str)(string_t str, deque_t deque, bool append) \
|
||||
{ \
|
||||
STRING_CONTRACT(str); \
|
||||
STRINGI_CONTRACT(str); \
|
||||
DEQUEI_CONTRACT(deque); \
|
||||
(append ? string_cat_str : string_set_str) (str, "["); \
|
||||
it_t it; \
|
||||
@@ -658,7 +658,7 @@
|
||||
string_push_back (str, M_GET_SEPARATOR oplist); \
|
||||
} \
|
||||
string_push_back (str, ']'); \
|
||||
STRING_CONTRACT(str); \
|
||||
STRINGI_CONTRACT(str); \
|
||||
} \
|
||||
, /* no GET_STR */ ) \
|
||||
\
|
||||
|
||||
@@ -469,14 +469,14 @@
|
||||
static inline void \
|
||||
M_C(name, _get_str)(string_t str, dict_t dict, const bool append) \
|
||||
{ \
|
||||
STRING_CONTRACT (str); \
|
||||
STRINGI_CONTRACT (str); \
|
||||
DICTI_CONTRACT(name, dict); \
|
||||
(append ? string_cat_str : string_set_str) (str, "{"); \
|
||||
dict_it_t it; \
|
||||
for (M_C(name, _it)(it, dict) ; \
|
||||
!M_C(name, _end_p)(it); \
|
||||
M_C(name, _next)(it)){ \
|
||||
const struct M_C(name, _pair_s) *item = \
|
||||
const struct M_C(name, _pair_s) *item = \
|
||||
M_C(name, _cref)(it); \
|
||||
M_GET_GET_STR key_oplist (str, item->key, true); \
|
||||
string_push_back (str, ':'); \
|
||||
@@ -485,7 +485,7 @@
|
||||
string_push_back (str, ','); \
|
||||
} \
|
||||
string_push_back (str, '}'); \
|
||||
STRING_CONTRACT(str); \
|
||||
STRINGI_CONTRACT(str); \
|
||||
} \
|
||||
, /* no GET_STR */ ) \
|
||||
\
|
||||
|
||||
Reference in new issue
Block a user