docs: Make docs more markdown-ish

Fixed some issues that came to light while compiling documentation
for the python bindings.
This commit is contained in:
Arjan Molenaar
2025-02-09 18:41:17 +01:00
parent 0234f8e1b1
commit 04acc1741b
5 changed files with 28 additions and 23 deletions

View File

@@ -1420,10 +1420,12 @@ typedef gchar * (* GTypeValueLCopyFunc) (const GValue *value,
* this value bit-by-bit. Each character in the format represents
* an argument to be collected, and the characters themselves indicate
* the type of the argument. Currently supported arguments are:
* - `'i'`: Integers, passed as `collect_values[].v_int`
* - `'l'`: Longs, passed as `collect_values[].v_long`
* - `'d'`: Doubles, passed as `collect_values[].v_double`
* - `'p'`: Pointers, passed as `collect_values[].v_pointer`
*
* - `'i'`: Integers, passed as `collect_values[].v_int`
* - `'l'`: Longs, passed as `collect_values[].v_long`
* - `'d'`: Doubles, passed as `collect_values[].v_double`
* - `'p'`: Pointers, passed as `collect_values[].v_pointer`
*
* It should be noted that for variable argument list construction,
* ANSI C promotes every type smaller than an integer to an int, and
* floats to doubles. So for collection of short int or char, `'i'`