From: Zeeshan Ali Date: Wed, 24 Feb 2021 11:34:08 +0000 (+0100) Subject: spec: Clarify Array element needs to be padded even if inexistent X-Git-Tag: dbus-1.13.20~40^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7db7e93904dc65ca5be49954252d3d819ae5bbe;p=thirdparty%2Fdbus.git spec: Clarify Array element needs to be padded even if inexistent --- diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index a43244d3b..31a351dd0 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -1207,7 +1207,9 @@ array elements marshalled in sequence. n does not include the padding after the length, or any padding after the last element. i.e. n should be divisible by the - number of elements in the array. + number of elements in the array. Note that the alignment padding for the + first element is required even if there is no first element (an + empty array, where n is zero).