Dict parsing question
Lawrence D'Oliveiro
ldo at geek-central.gen.nz
Mon Dec 18 07:05:58 UTC 2023
On Fri, 15 Dec 2023 15:55:38 +0000, Simon McVittie wrote:
> The array is *4*-byte aligned, the same as any other array (because it
> starts with a 4-byte length). After the length, the dict entries
> inside it are 8-byte aligned, the same as structs.
I had to look at that twice, three times before I could be sure I
understood it right. Is that really the case, that elements of a dict
structure have a _greater_ alignment requirement than the structure
itself? How is that supposed to work, exactly?
More information about the dbus
mailing list