]> git.ozlabs.org Git - ccan/commitdiff
ccan/structeq: make it safe when there's padding.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 4 Jul 2018 04:07:28 +0000 (13:37 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 4 Jul 2018 04:08:48 +0000 (13:38 +0930)
ccan/cppmagic FTW!

The only issue is that we can't tell if there's padding or they've missed
a member, so we add a padding bytes count, so they'll get an error if it
(for example) the structure adds a new member later.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found