mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gvalue: Add g_value_clear method
This method is similar to g_value_unset() but will accept an uninitialized (zero-filled) GValue structure. https://bugzilla.gnome.org/show_bug.cgi?id=755766
This commit is contained in:
committed by
Nicolas Dufresne
parent
b36b4941a6
commit
1233962b54
@@ -134,6 +134,8 @@ GLIB_AVAILABLE_IN_ALL
|
||||
GValue* g_value_reset (GValue *value);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_value_unset (GValue *value);
|
||||
GLIB_AVAILABLE_IN_2_48
|
||||
void g_value_clear (GValue *value);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_value_set_instance (GValue *value,
|
||||
gpointer instance);
|
||||
|
Reference in New Issue
Block a user