diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-10-09 17:34:09 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-10-11 10:35:25 +0100 |
commit | 262c02a9facebc8592fa60406d8971b1837725f5 (patch) | |
tree | 872cf23811677ae84a1d6a9ba22ac5e27d7d8fd5 /dbus/dbus-errors.h | |
parent | 559de12aac424aa726007abb5cf6a7ac12d39db4 (diff) |
Add DBUS_ERROR_INITIALIZER macro
Diffstat (limited to 'dbus/dbus-errors.h')
-rw-r--r-- | dbus/dbus-errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-errors.h b/dbus/dbus-errors.h index e01818c4..ee170071 100644 --- a/dbus/dbus-errors.h +++ b/dbus/dbus-errors.h @@ -58,6 +58,8 @@ struct DBusError void *padding1; /**< placeholder */ }; +#define DBUS_ERROR_INITIALIZER { NULL, NULL, 0, 0, 0, 0, 0, NULL } + void dbus_error_init (DBusError *error); void dbus_error_free (DBusError *error); void dbus_set_error (DBusError *error, |