Merge branch 'gvariant-copy-free-func' into 'main'

GVariant: Add copy-func and free-func annotations

See merge request GNOME/glib!4161
This commit is contained in:
Michael Catanzaro 2024-08-10 13:52:00 +00:00
commit c2078021cb

View File

@ -36,7 +36,7 @@
#include <string.h> #include <string.h>
/** /**
* GVariant: * GVariant: (copy-func g_variant_ref_sink) (free-func g_variant_unref)
* *
* `GVariant` is a variant datatype; it can contain one or more values * `GVariant` is a variant datatype; it can contain one or more values
* along with information about the type of the values. * along with information about the type of the values.