mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-30 21:35:41 +00:00
98c71df8a3
At various places, use the correct type for the pointer, this allows the compiler to be more helpful. For gs_free, gs_unref_object, and nm_auto_free, the pointer type is of course still 'void *'. This catches wrong uses like gs_strfreev char *wrong1 = NULL; gs_strfreev const char **wrong2 = NULL; gs_free_error GError **p_error = NULL; gs_unref_array GPtrArray *ptr_array = NULL; Note that long time ago we copied "gsystem-local-alloc.h" header from libgsystem library. Until now, we didn't apply any local modification to this file, to keep it in sync with upstream. However, upstream libgsystem is not maintained anymore, so there is no reason to stay in sync with upstream. |
||
---|---|---|
.. | ||
c-list | ||
c-siphash | ||
n-acd | ||
nm-utils | ||
meson.build | ||
nm-common-macros.h | ||
nm-dbus-compat.h | ||
nm-default.h | ||
nm-dispatcher-api.h | ||
nm-meta-setting.c | ||
nm-meta-setting.h | ||
nm-test-libnm-utils.h | ||
nm-test-utils-impl.c | ||
nm-version-macros.h.in |