diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-09-12 20:11:38 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-09-12 20:11:38 +0000 |
commit | c3acb9da0c9dfff02b129258b9a8dc667514599c (patch) | |
tree | 12c46e05d0c5fc3409b8fd08a2161a1e4fe7beb7 /gobject/gboxed.h | |
parent | 7c9f0a10f52074d81db915e9f3c94dc377b3c6c4 (diff) |
Make the g_value_set_x_take_ownership() functions "official" part of the
2003-09-12 Matthias Clasen <maclas@gmx.de>
Make the g_value_set_x_take_ownership() functions "official"
part of the API (#100948):
* gvaluetypes.[hc]: Add g_value_take_string() (synonym to the
now deprecated g_value_set_string_take_ownership()).
* gparam.[hc]: Add g_value_take_param() (synonym to the
now deprecated g_value_set_param_take_ownership()).
* gobject.[hc]: Add g_value_take_object() (synonym to the
now deprecated g_value_set_object_take_ownership()).
* gboxed.[hc]: Add g_value_take_boxed() (synonym to the
now deprecated g_value_set_boxed_take_ownership()).
* gobject/gobject-sections.txt: Add new g_value_take_x() functions.
* gobject/tmpl/param_value_types.sgml: Document new g_value_take_x()
functions. (#100948)
Diffstat (limited to 'gobject/gboxed.h')
-rw-r--r-- | gobject/gboxed.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gobject/gboxed.h b/gobject/gboxed.h index 1645502f6..7e57c5ca7 100644 --- a/gobject/gboxed.h +++ b/gobject/gboxed.h @@ -63,9 +63,12 @@ GType g_boxed_type_register_static (const gchar *name, #define G_TYPE_GSTRING (g_gstring_get_type ()) -/* --- internal (marshaller specific) --- */ +void g_value_take_boxed (GValue *value, + gconstpointer v_boxed); +#ifndef G_DISABLE_DEPRECATED void g_value_set_boxed_take_ownership (GValue *value, gconstpointer v_boxed); +#endif GType g_closure_get_type (void) G_GNUC_CONST; GType g_value_get_type (void) G_GNUC_CONST; GType g_value_array_get_type (void) G_GNUC_CONST; |