diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-10-29 18:27:25 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2023-01-08 14:51:55 +0000 |
commit | ce8c37d3d6665903da5cf3a6ce5fdbfb442e6e3a (patch) | |
tree | 93918a77a809d7737a78efe1d21949bfe0eceb7e /docs/gir-1.2.rnc | |
parent | 168da22eccacc0627fd7a9dd7420f6972f76586f (diff) | |
download | gobject-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/gir-1.2.rnc')
-rw-r--r-- | docs/gir-1.2.rnc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/gir-1.2.rnc b/docs/gir-1.2.rnc index 5182f7cb..b7960ffa 100644 --- a/docs/gir-1.2.rnc +++ b/docs/gir-1.2.rnc @@ -228,6 +228,10 @@ grammar { attribute foreign { "0" | "1" }?, ## Name of the GObject compatible gtype this record represents. If empty, this record will be hidden from generated public APIs. attribute glib:is-gtype-struct-for { xsd:string }?, + ## Name of the function used to copy the record + attribute copy-function { xsd:string }?, + ## Name of the function used to free the record + attribute free-function { xsd:string }?, # Other elements a record can contain # mandatory @@ -636,6 +640,10 @@ grammar { attribute glib:type-name { xsd:string }?, ## function to retrieve the GObject compatible type of the element attribute glib:get-type { xsd:string }?, + ## Name of the function used to copy the union + attribute copy-function { xsd:string }?, + ## Name of the function used to free the union + attribute free-function { xsd:string }?, (Info.elements & Field* |