mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 03:46:17 +01:00
Docs: convert another table to a list
This commit is contained in:
parent
38b1d63b24
commit
03b21a19ec
@ -1074,21 +1074,11 @@ g_variant_lookup_value (GVariant *dictionary,
|
|||||||
* In particular, arrays of these fixed-sized types can be interpreted
|
* In particular, arrays of these fixed-sized types can be interpreted
|
||||||
* as an array of the given C type, with @element_size set to the size
|
* as an array of the given C type, with @element_size set to the size
|
||||||
* the appropriate type:
|
* the appropriate type:
|
||||||
*
|
* - %G_VARIANT_TYPE_INT16 (etc.): #gint16 (etc.)
|
||||||
* <informaltable>
|
* - %G_VARIANT_TYPE_BOOLEAN: #guchar (not #gboolean!)
|
||||||
* <tgroup cols='2'>
|
* - %G_VARIANT_TYPE_BYTE: #guchar
|
||||||
* <thead><row><entry>element type</entry> <entry>C type</entry></row></thead>
|
* - %G_VARIANT_TYPE_HANDLE: #guint32
|
||||||
* <tbody>
|
* - %G_VARIANT_TYPE_DOUBLE: #gdouble
|
||||||
* <row><entry>%G_VARIANT_TYPE_INT16 (etc.)</entry>
|
|
||||||
* <entry>#gint16 (etc.)</entry></row>
|
|
||||||
* <row><entry>%G_VARIANT_TYPE_BOOLEAN</entry>
|
|
||||||
* <entry>#guchar (not #gboolean!)</entry></row>
|
|
||||||
* <row><entry>%G_VARIANT_TYPE_BYTE</entry> <entry>#guchar</entry></row>
|
|
||||||
* <row><entry>%G_VARIANT_TYPE_HANDLE</entry> <entry>#guint32</entry></row>
|
|
||||||
* <row><entry>%G_VARIANT_TYPE_DOUBLE</entry> <entry>#gdouble</entry></row>
|
|
||||||
* </tbody>
|
|
||||||
* </tgroup>
|
|
||||||
* </informaltable>
|
|
||||||
*
|
*
|
||||||
* For example, if calling this function for an array of 32-bit integers,
|
* For example, if calling this function for an array of 32-bit integers,
|
||||||
* you might say sizeof(gint32). This value isn't used except for the purpose
|
* you might say sizeof(gint32). This value isn't used except for the purpose
|
||||||
|
Loading…
Reference in New Issue
Block a user