mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 03:50:10 +01:00
We sometimes store pointers to `CRBTree` in `CRBNode*` variables, so we
must make sure CRBTree has matching alignment guarantees. We already
check for that with static-assertions.
This commit aligns CRBTree with CRBNode for 2-byte aligned machines.
While at it, add a short comment explaining what the unions are for.
Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
|
||
|---|---|---|
| .. | ||
| c-rbtree-private.h | ||
| c-rbtree.c | ||
| c-rbtree.h | ||
| libcrbtree.sym | ||
| meson.build | ||
| test-api.c | ||
| test-basic.c | ||
| test-map.c | ||
| test-misc.c | ||
| test-parallel.c | ||
| test-posix.c | ||