From e12863aae85dc131fcdd552edd6b32bd15702e12 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 1 Jun 2004 03:02:26 +0000 Subject: 2004-05-31 Havoc Pennington * glib/dbus-gidl.c (method_info_add_arg): keep args sorted with "in" before "out" * glib/dbus-gobject.c (dbus_type_to_string): move to dbus-gutils.c * glib/dbus-glib-tool.c (main): set up to have a --self-test option that runs the tests, and start filling in some code including for starters just dumping the interfaces to stdout * glib/Makefile.am (INCLUDES): define DBUS_LOCALEDIR * test/data/valid-introspection-files/lots-of-types.xml: test of an example introspection file * glib/dbus-gparser.c (parser_check_doctype): doctype should be "node" (I think...) --- glib/dbus-glib.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'glib/dbus-glib.h') diff --git a/glib/dbus-glib.h b/glib/dbus-glib.h index 64420e72..483a6e81 100644 --- a/glib/dbus-glib.h +++ b/glib/dbus-glib.h @@ -80,10 +80,11 @@ struct DBusGMethodInfo */ struct DBusGObjectInfo { + int format_version; /**< Allows us to change the rest of this struct + * by adding DBusGObjectInfo2, DBusGObjectInfo3, etc. + */ const DBusGMethodInfo *infos; /**< Array of method pointers */ const unsigned char *data; /**< Introspection data */ - void *dbus_internal_padding1; /**< Reserved for expansion */ - void *dbus_internal_padding2; /**< Reserved for expansion */ }; void dbus_g_object_class_install_info (GObjectClass *object_class, -- cgit