* dbus/dbus-message.c (get_next_field): delete unused function
* python/dbus_bindings.pyx.in: add get_dict to handle dictionaries
return types. Fixup TYPE_* to reflect changes in dbus/dbus-protocol.h
+2003-10-28 Havoc Pennington <hp@redhat.com>
+
+ * dbus/dbus-message.c (get_next_field): delete unused function
+
2003-10-28 Havoc Pennington <hp@redhat.com>
* bus/expirelist.c (do_expiration_with_current_time): detect
return FALSE;
}
-static int
-get_next_field (DBusMessage *message,
- int field)
-{
- int offset;
- int closest;
- int i;
- int retval;
-
- offset = message->header_fields[field].name_offset;
- retval = DBUS_HEADER_FIELD_INVALID;
-
- i = 0;
- closest = _DBUS_INT_MAX;
- while (i < DBUS_HEADER_FIELD_LAST)
- {
- if (message->header_fields[i].name_offset > offset &&
- message->header_fields[i].name_offset < closest)
- {
- closest = message->header_fields[i].name_offset;
- retval = i;
- }
- ++i;
- }
-
- return retval;
-}
-
static int
get_type_alignment (int type)
{