mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
This takes a `const GValue *' argument.
2001-03-21 Martin Baulig <baulig@suse.de> * gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *' argument.
This commit is contained in:
parent
767800fcb3
commit
fb3a83820e
@ -1,3 +1,8 @@
|
||||
2001-03-21 Martin Baulig <baulig@suse.de>
|
||||
|
||||
* gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *'
|
||||
argument.
|
||||
|
||||
2001-03-18 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gobject.def: Correct some renamed functions.
|
||||
|
@ -437,7 +437,7 @@ g_value_get_boxed (const GValue *value)
|
||||
}
|
||||
|
||||
gpointer
|
||||
g_value_dup_boxed (GValue *value)
|
||||
g_value_dup_boxed (const GValue *value)
|
||||
{
|
||||
g_return_val_if_fail (G_VALUE_HOLDS_BOXED (value), NULL);
|
||||
g_return_val_if_fail (G_TYPE_IS_VALUE (G_VALUE_TYPE (value)), NULL);
|
||||
|
@ -45,7 +45,7 @@ void g_value_set_boxed (GValue *value,
|
||||
void g_value_set_static_boxed (GValue *value,
|
||||
gconstpointer boxed);
|
||||
gpointer g_value_get_boxed (const GValue *value);
|
||||
gpointer g_value_dup_boxed (GValue *value);
|
||||
gpointer g_value_dup_boxed (const GValue *value);
|
||||
|
||||
|
||||
/* --- convenience --- */
|
||||
|
Loading…
Reference in New Issue
Block a user