girwriter: Port documentation to gi-docgen and update

Review and update the documentation, making sure it’s complete,
formatted in gi-docgen format, and has all appropriate GIR annotations
and `Since:` lines.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3155
This commit is contained in:
Philip Withnall 2023-12-13 13:25:11 +00:00
parent e1de1fb316
commit ff30ddb66e

View File

@ -1316,15 +1316,17 @@ write_union_info (const gchar *ns,
} }
/* /**
* gi_ir_writer_write: * gi_ir_writer_write:
* @filename: filename to write to * @filename: (type filename): filename to write to
* @ns: GIR namespace to write * @ns: GIR namespace to write
* @needs_prefix: if the filename needs prefixing * @needs_prefix: if the filename needs prefixing
* @show_all: if field size calculations should be included * @show_all: if field size calculations should be included
* *
* Writes the output of a typelib represented by @ns * Writes the output of a typelib represented by @ns
* into a GIR xml file named @filename. * into a GIR xml file named @filename.
*
* Since: 2.80
*/ */
void void
gi_ir_writer_write (const char *filename, gi_ir_writer_write (const char *filename,