Re: Dict parsing question
"Thomas Kluyver" <[email protected]> Tue, 19 Dec 2023 15:21:01 +0000
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 18 Dec 2023, at 07:05, Lawrence D'Oliveiro wrote: > 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? That's certainly how I'd read the spec. I don't think there's any great difficulty there? We have a uint32 length aligned on a multiple of 4 bytes, so you either need 0 or 4 bytes of padding between that and the first entry. Thomas