mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 18:10:08 +01:00
glib-aux: add NM_STRV_EMPTY_CC() helper macro
This commit is contained in:
parent
60957a4c8a
commit
92daaff7d1
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