diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-06-07 13:39:45 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2020-06-07 13:39:45 +0200 |
commit | e3e0f7dcd48c08eee76ab79b278b622f02d3bd18 (patch) | |
tree | c36724ec0fdc735d66b41c237d6e42e2018e3ae8 /gir/gobject-2.0.c | |
parent | e7c17469ef3eb1c3a1c4c717800c277ee231405c (diff) | |
download | gobject-introspection-e3e0f7dcd48c08eee76ab79b278b622f02d3bd18.tar.gz |
gir: Update annotations from glib git master
Diffstat (limited to 'gir/gobject-2.0.c')
-rw-r--r-- | gir/gobject-2.0.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gir/gobject-2.0.c b/gir/gobject-2.0.c index f773584b..f7b3287a 100644 --- a/gir/gobject-2.0.c +++ b/gir/gobject-2.0.c @@ -6727,6 +6727,19 @@ /** + * g_value_set_interned_string: + * @value: a valid #GValue of type %G_TYPE_STRING + * @v_string: (nullable): static string to be set + * + * Set the contents of a %G_TYPE_STRING #GValue to @v_string. The string is + * assumed to be static and interned (canonical, for example from + * g_intern_string()), and is thus not duplicated when setting the #GValue. + * + * Since: 2.66 + */ + + +/** * g_value_set_long: * @value: a valid #GValue of type %G_TYPE_LONG * @v_long: long integer value to be set @@ -6824,6 +6837,9 @@ * Set the contents of a %G_TYPE_STRING #GValue to @v_string. * The string is assumed to be static, and is thus not duplicated * when setting the #GValue. + * + * If the the string is a canonical string, using g_value_set_interned_string() + * is more appropriate. */ |