mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Add missing (allow-none) annotations to g_value_set_string functions
This commit is contained in:
parent
26548e05bb
commit
de6566b07d
@ -985,7 +985,7 @@ g_value_get_double (const GValue *value)
|
||||
/**
|
||||
* g_value_set_string:
|
||||
* @value: a valid #GValue of type %G_TYPE_STRING
|
||||
* @v_string: caller-owned string to be duplicated for the #GValue
|
||||
* @v_string: (allow-none): caller-owned string to be duplicated for the #GValue
|
||||
*
|
||||
* Set the contents of a %G_TYPE_STRING #GValue to @v_string.
|
||||
*/
|
||||
@ -1010,7 +1010,7 @@ g_value_set_string (GValue *value,
|
||||
/**
|
||||
* g_value_set_static_string:
|
||||
* @value: a valid #GValue of type %G_TYPE_STRING
|
||||
* @v_string: static string to be set
|
||||
* @v_string: (allow-none): 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 is thus not duplicated
|
||||
@ -1031,7 +1031,7 @@ g_value_set_static_string (GValue *value,
|
||||
/**
|
||||
* g_value_set_string_take_ownership:
|
||||
* @value: a valid #GValue of type %G_TYPE_STRING
|
||||
* @v_string: duplicated unowned string to be set
|
||||
* @v_string: (allow-none): duplicated unowned string to be set
|
||||
*
|
||||
* This is an internal function introduced mainly for C marshallers.
|
||||
*
|
||||
@ -1047,7 +1047,7 @@ g_value_set_string_take_ownership (GValue *value,
|
||||
/**
|
||||
* g_value_take_string:
|
||||
* @value: a valid #GValue of type %G_TYPE_STRING
|
||||
* @v_string: string to take ownership of
|
||||
* @v_string: (allow-none): string to take ownership of
|
||||
*
|
||||
* Sets the contents of a %G_TYPE_STRING #GValue to @v_string.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user