Add macro string_sets (like string_cats)
This commit is contained in:
1 parent
5f05c1e169
commit
8a9d5f6a00
3 files changed
+11
No files matched your search
@@ -1859,6 +1859,10 @@ namespace m_lib {
|
||||
#define string_cats(a, ...) \
|
||||
M_MAP2_C(string_cat, a, __VA_ARGS__)
|
||||
|
||||
/* Set a string to a set strings (or const char * if C1)) */
|
||||
#define string_sets(a, ...) \
|
||||
(string_clean(a), M_MAP2_C(string_cat, a, __VA_ARGS__) )
|
||||
|
||||
/* Macro encapsulation for C11 */
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
||||
|
||||
|
||||
Reference in new issue
Block a user