glib-aux: add NM_STRV_EMPTY_CC() helper macro

This commit is contained in:
Thomas Haller 2021-06-15 12:21:00 +02:00
parent 60957a4c8a
commit 92daaff7d1
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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)