NetworkManager/shared/c-rbtree/src
David Rheinsberg 1250fcc2b1
c-rbtree: align CRBTree with CRBNode
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>

c795b7657f
2020-10-21 10:38:34 +02:00
..
c-rbtree-private.h shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
c-rbtree.c c-rbtree: reduce alignment constraints 2020-10-07 16:20:42 +02:00
c-rbtree.h c-rbtree: align CRBTree with CRBNode 2020-10-21 10:38:34 +02:00
libcrbtree.sym Merge commit '4f4e96655625a0ad8c5fc451c5a3a8dda3bf5456' as 'shared/c-rbtree' 2018-09-18 15:08:46 +02:00
meson.build shared/c-rbtree: reimport 2020-06-03 22:08:05 +02:00
test-api.c shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
test-basic.c shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
test-map.c shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
test-misc.c shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
test-parallel.c shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00
test-posix.c shared/c-rbtree: reimport 2019-04-14 17:23:01 +02:00