[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Dict parsing question
From:       "Thomas Kluyver" <thomas () kluyver ! me ! uk>
Date:       2023-12-19 15:21:01
Message-ID: fea9e7ff-5792-4963-9741-7953e0fae839 () app ! fastmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic