mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 06:00:08 +01:00
It's cumbersome if we always need to cast our arguments for the strv helper functions. Depending on the situation, we often have a "char **" or a "const char *const*" argument. Use NM_CAST_STRV_CC() macros instead. This macro uses C11's _Generic() and casts types that are presumed to be safe. This tends to be less typing and more type-safe, because you don't need an explicit C cast (which would overrule any warning that the compiler might have for you). |
||
|---|---|---|
| .. | ||
| c-list | ||
| c-rbtree | ||
| c-siphash | ||
| c-stdaux | ||
| n-acd | ||
| n-dhcp4 | ||
| nm-glib-aux | ||
| nm-std-aux | ||
| nm-udev-aux | ||
| nm-utils | ||
| systemd | ||
| meson.build | ||
| nm-default.h | ||
| nm-meta-setting.c | ||
| nm-meta-setting.h | ||
| nm-test-libnm-utils.h | ||
| nm-test-utils-impl.c | ||
| nm-version-macros.h.in | ||