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:
Martin Baulig 2001-03-21 11:16:38 +00:00 committed by Martin Baulig
parent 767800fcb3
commit fb3a83820e
3 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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);

View File

@ -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 --- */