From ad937e16957c76f21b0df79d742cb4c401d2abb9 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 17 Jan 2005 22:03:19 +0000 Subject: 2005-01-17 Havoc Pennington * Throughout, align variant bodies according to the contained type, rather than always to 8. Should save a fair bit of space in message headers. * dbus/dbus-marshal-validate.c (_dbus_validate_body_with_reason): fix handling of case where p == end * doc/TODO: remove the dbus_bool_t item and variant alignment items --- dbus/dbus-marshal-basic.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dbus/dbus-marshal-basic.h') diff --git a/dbus/dbus-marshal-basic.h b/dbus/dbus-marshal-basic.h index f4a8c2fa..d8ded1ca 100644 --- a/dbus/dbus-marshal-basic.h +++ b/dbus/dbus-marshal-basic.h @@ -215,6 +215,7 @@ dbus_bool_t _dbus_type_is_container (int typecode); dbus_bool_t _dbus_type_is_fixed (int typecode); const char* _dbus_type_to_string (int typecode); - +int _dbus_first_type_in_signature (const DBusString *str, + int pos); #endif /* DBUS_MARSHAL_BASIC_H */ -- cgit