diff options
| author | Michael Biebl <biebl@debian.org> | 2022-05-13 15:11:15 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-05-13 15:11:15 +0200 |
| commit | 87d61411bb3453587d21487da04fcf770fee7d55 (patch) | |
| tree | e84f1bcc59ec448f8d6f8754391974f0f9bd6cd9 /src/libnm-glib-aux | |
| parent | 9959fdb2e8ddd06f2161798ca0a39c77d67c652d (diff) | |
New upstream version 1.38.0 upstream/1.38.0
Diffstat (limited to 'src/libnm-glib-aux')
| -rw-r--r-- | src/libnm-glib-aux/nm-shared-utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libnm-glib-aux/nm-shared-utils.h b/src/libnm-glib-aux/nm-shared-utils.h index 941312bd..daefa068 100644 --- a/src/libnm-glib-aux/nm-shared-utils.h +++ b/src/libnm-glib-aux/nm-shared-utils.h @@ -2127,6 +2127,12 @@ char *nm_utils_g_slist_strlist_join(const GSList *a, const char *separator); /*****************************************************************************/ +static inline gpointer +nm_g_array_data(const GArray *arr) +{ + return arr ? arr->data : NULL; +} + static inline guint nm_g_array_len(const GArray *arr) { |