]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Clarify that 'r' and 'e' cannot appear in signatures
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 26 Apr 2011 15:06:58 +0000 (16:06 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 27 Apr 2011 17:00:51 +0000 (18:00 +0100)
Reviewed-by: Colin Walters <walters@verbum.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34529

doc/dbus-specification.xml

index 8c6ddf06221fda7b35d54163f522f4c1755b3027..324d8b97393ba1cb22942228370be0f6afc97328 100644 (file)
               </row><row>
                 <entry><literal>STRUCT</literal></entry>
                 <entry>114 (ASCII 'r'), 40 (ASCII '('), 41 (ASCII ')')</entry>
-                <entry>Struct</entry>
+                <entry>Struct; type code 114 'r' is reserved for use in
+                  bindings and implementations to represent the general
+                  concept of a struct, and must not appear in signatures
+                  used on D-Bus.</entry>
               </row><row>
                 <entry><literal>VARIANT</literal></entry>
                 <entry>118 (ASCII 'v') </entry>
               </row><row>
                 <entry><literal>DICT_ENTRY</literal></entry>
                 <entry>101 (ASCII 'e'), 123 (ASCII '{'), 125 (ASCII '}') </entry>
-                <entry>Entry in a dict or map (array of key-value pairs)</entry>
+                <entry>Entry in a dict or map (array of key-value pairs).
+                  Type code 101 'e' is reserved for use in bindings and
+                  implementations to represent the general concept of a
+                  dict or dict-entry, and must not appear in signatures
+                  used on D-Bus.</entry>
               </row><row>
                 <entry><literal>UNIX_FD</literal></entry>
                 <entry>104 (ASCII 'h')</entry>