mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 18:20:07 +01:00
shared: add NM_PRINT_FMT_QUOTE_REF_STRING() macro
This commit is contained in:
parent
f4fa003434
commit
5ce7ea38ff
1 changed files with 1 additions and 0 deletions
|
|
@ -993,6 +993,7 @@ nm_str_realloc (char *str)
|
|||
(cond) ? (str) : (str_else), \
|
||||
(cond) ? (suffix) : ""
|
||||
#define NM_PRINT_FMT_QUOTE_STRING(arg) NM_PRINT_FMT_QUOTED((arg), "\"", (arg), "\"", "(null)")
|
||||
#define NM_PRINT_FMT_QUOTE_REF_STRING(arg) NM_PRINT_FMT_QUOTED((arg), "\"", (arg)->str, "\"", "(null)")
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue