mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-18 13:20:26 +01:00
Unfortunately, there are several possibilities how to handle NULL and empty arrays. Therefore we have different variants. Clean this up, and add a way to preserve whether the array is empty (previous variants could not distinguish that). Functions are also renamed, so that if you backport a user of the new API, you'll get a compiler error if this patch is missing. Also, nm_strvarray_get_strv_notnull() no longer takes a pointer to a "GArray*". Previously, it used that to fake an empty strv array. Now this returns NM_STRV_EMPTY_CC(). |
||
|---|---|---|
| .. | ||
| certs | ||
| meson.build | ||
| nm-core-tests-enum-types.c.template | ||
| nm-core-tests-enum-types.h.template | ||
| test-compare.c | ||
| test-crypto.c | ||
| test-general-enums.h | ||
| test-general.c | ||
| test-keyfile.c | ||
| test-secrets.c | ||
| test-setting.c | ||
| test-settings-defaults.c | ||