summaryrefslogtreecommitdiff
path: root/docs/website
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2022-10-29 18:27:25 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2023-01-08 14:51:55 +0000
commitce8c37d3d6665903da5cf3a6ce5fdbfb442e6e3a (patch)
tree93918a77a809d7737a78efe1d21949bfe0eceb7e /docs/website
parent168da22eccacc0627fd7a9dd7420f6972f76586f (diff)
downloadgobject-introspection-ce8c37d3d6665903da5cf3a6ce5fdbfb442e6e3a.tar.gz
Document the newly added attributes
Add the (copy-func) and (free-func) annotations to the documentation, and the copy-function and free-function attributes to the GIR schema.
Diffstat (limited to 'docs/website')
-rw-r--r--docs/website/annotations/giannotations.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/website/annotations/giannotations.rst b/docs/website/annotations/giannotations.rst
index 8099bd5b..696f5b06 100644
--- a/docs/website/annotations/giannotations.rst
+++ b/docs/website/annotations/giannotations.rst
@@ -199,6 +199,14 @@ Support for non-GObject fundamental objects
- ``FUNC`` is the function used to convert from a struct to a GValue,
must be a GTypeInstance
-
+ * - ``(copy-func FUNC)``
+ - identifier
+ - ``FUNC`` is the function used to copy a struct or a union
+ - 1.76
+ * - ``(free-func FUNC)``
+ - identifier
+ - ``FUNC`` is the function used to free a struct or a union
+ - 1.76
Type signature