mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 20:20:09 +01:00
glib-aux: add NM_STRV_EMPTY_CC() helper macro
(cherry picked from commit 92daaff7d1)
This commit is contained in:
parent
feb262f24d
commit
91e6f4ff52
1 changed files with 1 additions and 0 deletions
|
|
@ -556,6 +556,7 @@ extern const void *const _NM_PTRARRAY_EMPTY[1];
|
|||
|
||||
#define NM_PTRARRAY_EMPTY(type) ((type const *) _NM_PTRARRAY_EMPTY)
|
||||
#define NM_STRV_EMPTY() ((char **) _NM_PTRARRAY_EMPTY)
|
||||
#define NM_STRV_EMPTY_CC() NM_PTRARRAY_EMPTY(const char *)
|
||||
|
||||
static inline void
|
||||
_nm_utils_strbuf_init(char *buf, gsize len, char **p_buf_ptr, gsize *p_buf_len)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue