From 262c02a9facebc8592fa60406d8971b1837725f5 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 9 Oct 2007 17:34:09 +0100 Subject: Add DBUS_ERROR_INITIALIZER macro --- dbus/dbus-errors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbus/dbus-errors.h') 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, -- cgit