mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
provide marshaller specific value_set_*_take_ownership() variants.
Sun Feb 16 22:08:48 2002 Tim Janik <timj@gtk.org> * gobject.[hc]: * gparam.[hc]: provide marshaller specific value_set_*_take_ownership() variants. * gvalue.h: shrink GValue's data contents to 2 unions. * glib-genmarshal.c: fix release and realeas_check hackage by always using _take_ownership() variants. directly access value contents if G_ENABLE_DEBUG is not defined. * gobject.h: add padding pointers to the class struct.
This commit is contained in:
@@ -143,6 +143,11 @@ GParamSpec* g_value_get_param (const GValue *value);
|
||||
GParamSpec* g_value_dup_param (const GValue *value);
|
||||
|
||||
|
||||
/* --- marshaller specific --- */
|
||||
void g_value_set_param_take_ownership (GValue *value,
|
||||
GParamSpec *param);
|
||||
|
||||
|
||||
/* --- convenience functions --- */
|
||||
typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;
|
||||
struct _GParamSpecTypeInfo
|
||||
|
Reference in New Issue
Block a user