mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 15:20:08 +01:00
_NM_GET_PRIVATE() macro is used to implement a standard private-getter, but it requires that "self" is a pointer of either "const type *" or "type *". That is great in most cases, but sometimes we have predominatly self pointers of different type, so it would require a lot of casts. Add a different form _NM_GET_PRIVATE_VOID() where self pointer can be any non-const pointer and returns a non-const private pointer after casting. |
||
|---|---|---|
| .. | ||
| gsystem-local-alloc.h | ||
| nm-glib.h | ||
| nm-macros-internal.h | ||
| nm-shared-utils.c | ||
| nm-shared-utils.h | ||
| nm-test-utils.h | ||
| nm-vpn-editor-plugin-call.h | ||
| nm-vpn-plugin-macros.h | ||
| nm-vpn-plugin-utils.c | ||
| nm-vpn-plugin-utils.h | ||
| unaligned.h | ||