2005-01-16 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Mon, 17 Jan 2005 00:16:28 +0000 (00:16 +0000)
committerHavoc Pennington <hp@redhat.com>
Mon, 17 Jan 2005 00:16:28 +0000 (00:16 +0000)
commitaad6fa897f85486386b030847151cb09943c97c0
tree3996469d2be2df0bc63a4e8dd0aa3ac6cdfaddcb
parent7f9721a6d36697a57170c604aa845af3531bd157
2005-01-16  Havoc Pennington  <hp@redhat.com>

* dbus/dbus-internals.c (_dbus_real_assert): print the function
name the assertion failed in

* dbus/dbus-internals.h (_dbus_return_if_fail)
(_dbus_return_val_if_fail): assert that the name of the function
containing the check doesn't start with '_', since we only want to
use checks on public functions

* dbus/dbus-connection.c (_dbus_connection_ref_unlocked): change
checks to assertions

* dbus/dbus-marshal-header.c (_dbus_header_set_field_basic):
change checks to asserts for private function

* dbus/dbus-message.c (_dbus_message_set_serial): checks
to asserts for private function

* dbus/dbus-marshal-recursive.c (skip_one_complete_type): remove
broken assertion that was breaking make check
(_dbus_type_reader_array_is_empty): remove this rather than fix
it, was only used in assertions
ChangeLog
dbus/dbus-connection.c
dbus/dbus-internals.c
dbus/dbus-internals.h
dbus/dbus-marshal-basic.c
dbus/dbus-marshal-header.c
dbus/dbus-marshal-recursive.c
dbus/dbus-message.c
dbus/dbus-pending-call.c
dbus/dbus-test.c