From ea29b1a8d1e2717581f4db852ad6647fc03bd00d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 6 May 2023 16:13:39 +0200 Subject: [PATCH] docs: Add GVariant cross-references --- docs/writing-modules.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/writing-modules.adoc b/docs/writing-modules.adoc index 648434dd..7f0e79cd 100644 --- a/docs/writing-modules.adoc +++ b/docs/writing-modules.adoc @@ -177,10 +177,10 @@ Builds a GVariant array containing the given list of elements, where each elemen where `type` and `types` are themselves a type and list of types, respectively. + [[sec-option-types-gvariant-mkEmptyArray]]`hm.gvariant.mkEmptyArray type`::: -An alias of `hm.gvariant.mkArray type []`. +An alias of <>. + [[sec-option-types-gvariant-mkNothing]]`hm.gvariant.mkNothing type`::: -Builds a GVariant maybe value (GVariant format string `m${type}`) whose (non-existent) element is of the given type. The `type` value is constructed as described for the `mkArray` function above. +Builds a GVariant maybe value (GVariant format string `m${type}`) whose (non-existent) element is of the given type. The `type` value is constructed as described for the <> function above. + [[sec-option-types-gvariant-mkJust]]`hm.gvariant.mkJust element`::: Builds a GVariant maybe value (GVariant format string `m${element.type}`) containing the given GVariant element.