mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-25 01:00:29 +01:00
These variants provide additional nm_assert() checks, and are thus preferable. Note that we cannot just blindly replace &g_array_index() with &nm_g_array_index(), because the latter would not allow getting a pointer at index [arr->len]. That might be a valid (though uncommon) usecase. The correct replacement of &g_array_index() is thus nm_g_array_index_p(). I checked the code manually and replaced uses of nm_g_array_index_p() with &nm_g_array_index(), if that was a safe thing to do. The latter seems preferable, because it is familar to &g_array_index(). |
||
|---|---|---|
| .. | ||
| tests | ||
| libnm-wwan.ver | ||
| meson.build | ||
| nm-device-modem.c | ||
| nm-device-modem.h | ||
| nm-modem-broadband.c | ||
| nm-modem-broadband.h | ||
| nm-modem-manager.c | ||
| nm-modem-manager.h | ||
| nm-modem-ofono.c | ||
| nm-modem-ofono.h | ||
| nm-modem.c | ||
| nm-modem.h | ||
| nm-service-providers.c | ||
| nm-service-providers.h | ||
| nm-wwan-factory.c | ||