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

List:       freedesktop-dbus
Subject:    Re: Dict parsing question
From:       Lawrence D'Oliveiro <ldo () geek-central ! gen ! nz>
Date:       2023-12-18 7:05:58
Message-ID: 20231218200558.2c14b51b () theon ! geek-central ! gen ! nz
[Download RAW message or body]

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?
[prev in list] [next in list] [prev in thread] [next in thread] 

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