]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
spec: Clarify Array element needs to be padded even if inexistent
authorZeeshan Ali <zeeshanak@gnome.org>
Wed, 24 Feb 2021 11:34:08 +0000 (12:34 +0100)
committerZeeshan Ali <zeeshanak@gnome.org>
Wed, 10 Mar 2021 11:39:27 +0000 (12:39 +0100)
doc/dbus-specification.xml

index a43244d3b14bc0a7c5c598cd42a9916b8045f10f..31a351dd087d01cb563a10bcad09206f0a94d91c 100644 (file)
         array elements marshalled in sequence. <varname>n</varname> does not
         include the padding after the length, or any padding after the
         last element. i.e. <varname>n</varname> 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 <varname>n</varname> is zero).
       </para>
 
       <para>