mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 05:20:08 +01:00
macros: add NM_PRINT_FMT_QUOTED() macro
(cherry picked from commit 972f61fcd7)
This commit is contained in:
parent
e1283824ef
commit
a51d2d6149
1 changed files with 5 additions and 0 deletions
|
|
@ -100,6 +100,11 @@
|
|||
_found; \
|
||||
})
|
||||
|
||||
#define NM_PRINT_FMT_QUOTED(cond, prefix, str, suffix, str_else) \
|
||||
(cond) ? (prefix) : "", \
|
||||
(cond) ? (str) : (str_else), \
|
||||
(cond) ? (suffix) : ""
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifdef NM_MORE_ASSERTS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue