mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 03:04:05 +02:00
docs: Fix subsection capitalisation consistency in GVariant Spec
The other subheadings here are in Title Case. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
@@ -959,7 +959,7 @@ A brief description is provided for why a value deserialises to the given value.
|
|||||||
|
|
||||||
has a value of ``'foo'``.
|
has a value of ``'foo'``.
|
||||||
|
|
||||||
**String with embedded nul but none at end**
|
**String with Embedded Nul but None at End**
|
||||||
With type ``'s'``::
|
With type ``'s'``::
|
||||||
|
|
||||||
'f 'o 'o \0 'b 'a 'r
|
'f 'o 'o \0 'b 'a 'r
|
||||||
@@ -970,7 +970,7 @@ A brief description is provided for why a value deserialises to the given value.
|
|||||||
the empty string is used as the value. This includes the case where a nul is present
|
the empty string is used as the value. This includes the case where a nul is present
|
||||||
elsewhere in the string.
|
elsewhere in the string.
|
||||||
|
|
||||||
**Wrong size for fixed-size maybe**
|
**Wrong Size for Fixed-Size Maybe**
|
||||||
With type ``'mi'``::
|
With type ``'mi'``::
|
||||||
|
|
||||||
33 44 55 66 77 88
|
33 44 55 66 77 88
|
||||||
@@ -980,7 +980,7 @@ A brief description is provided for why a value deserialises to the given value.
|
|||||||
The only possible way for a value with type ``'mi'`` to be ``Just`` is for its serialised form
|
The only possible way for a value with type ``'mi'`` to be ``Just`` is for its serialised form
|
||||||
to be exactly 4 bytes.
|
to be exactly 4 bytes.
|
||||||
|
|
||||||
**Wrong size for fixed-width array**
|
**Wrong Size for Fixed-Width Array**
|
||||||
With type ``'a(yy)'``::
|
With type ``'a(yy)'``::
|
||||||
|
|
||||||
03 04 05 06 07
|
03 04 05 06 07
|
||||||
@@ -990,7 +990,7 @@ A brief description is provided for why a value deserialises to the given value.
|
|||||||
With each array element as a pair of bytes, the serialised size of the array should be
|
With each array element as a pair of bytes, the serialised size of the array should be
|
||||||
a multiple of two. Since this is not the case, the value of the array is the empty array.
|
a multiple of two. Since this is not the case, the value of the array is the empty array.
|
||||||
|
|
||||||
**Start or end boundary of child falls outside the container**
|
**Start or End Boundary of Child Falls Outside the Container**
|
||||||
With type ``'(as)'``::
|
With type ``'(as)'``::
|
||||||
|
|
||||||
'f 'o 'o \0 'b 'a 'r \0 'b 'a 'z \0 04 10 0c
|
'f 'o 'o \0 'b 'a 'r \0 'b 'a 'z \0 04 10 0c
|
||||||
@@ -1003,7 +1003,7 @@ A brief description is provided for why a value deserialises to the given value.
|
|||||||
also the start of the 3rd array element. As a result, both of these elements are given
|
also the start of the 3rd array element. As a result, both of these elements are given
|
||||||
their default value (the empty string).
|
their default value (the empty string).
|
||||||
|
|
||||||
**End boundary precedes start boundary**
|
**End Boundary Precedes Start Boundary**
|
||||||
With type ``'(as)'``::
|
With type ``'(as)'``::
|
||||||
|
|
||||||
'f 'o 'o \0 'b 'a 'r \0 'b 'a 'z \0 04 00 0c
|
'f 'o 'o \0 'b 'a 'r \0 'b 'a 'z \0 04 00 0c
|
||||||
@@ -1017,7 +1017,7 @@ A brief description is provided for why a value deserialises to the given value.
|
|||||||
first element, however, and when assessing its value, the embedded nul character
|
first element, however, and when assessing its value, the embedded nul character
|
||||||
causes it to be cut off at ``'foo'``.
|
causes it to be cut off at ``'foo'``.
|
||||||
|
|
||||||
**Insufficient space for structure framing offsets**
|
**Insufficient Space for Structure Framing Offsets**
|
||||||
With type ``'(ayayayayay)'``::
|
With type ``'(ayayayayay)'``::
|
||||||
|
|
||||||
03 02 01
|
03 02 01
|
||||||
|
Reference in New Issue
Block a user