From 4a48fff0c7c0377d68d1e24cc113e275057b4800 Mon Sep 17 00:00:00 2001 From: Robert McQueen Date: Mon, 13 Feb 2006 22:30:11 +0000 Subject: 2006-02-13 Robert McQueen * glib/dbus-binding-tool-glib.c, glib/dbus-gmain.c, glib/dbus-gsignature.c, glib/dbus-gtype-specialized.c, glib/dbus-gtype-specialized.h, glib/dbus-gvalue-utils.c, glib/dbus-gvalue-utils.h, glib/dbus-gvalue.c: Patch from Rob Taylor to add a big missing piece of the glib bindings jigsaw puzzle. This modifies the existing specialised types to have N type parameters (rather than the current 1 or 2 for arrays and dictionaries respectively). You can then use this to get a glib type to represent any arbitrary D-Bus struct type using dbus_g_type_get_struct. The only implementation of these types is with GValueArrays as before, but it's now possible to store these in arrays, emit them in signals, etc. --- glib/dbus-gvalue-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glib/dbus-gvalue-utils.h') diff --git a/glib/dbus-gvalue-utils.h b/glib/dbus-gvalue-utils.h index 139f4a31..cba3b61a 100644 --- a/glib/dbus-gvalue-utils.h +++ b/glib/dbus-gvalue-utils.h @@ -29,7 +29,7 @@ G_BEGIN_DECLS -void _dbus_g_type_specialized_builtins_init (void); +void _dbus_g_type_specialized_builtins_init (void); gboolean _dbus_g_type_is_fixed (GType gtype); guint _dbus_g_type_fixed_get_size (GType gtype); -- cgit