diff options
author | Havoc Pennington <hp@redhat.com> | 2003-02-14 04:12:28 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-02-14 04:12:28 +0000 |
commit | b544e59358251f0811c9fe35c149a67d5deafdba (patch) | |
tree | 9837cb4d40d50d93224fd7043cbdd4d588115203 /dbus | |
parent | b822fb3913e175ff7c139e064453d5d97e758db0 (diff) |
2003-02-14 Havoc Pennington <hp@pobox.com>
* dbus/dbus-errors.h (struct DBusError): add a word of padding
to DBusError
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-errors.c | 13 | ||||
-rw-r--r-- | dbus/dbus-errors.h | 5 |
2 files changed, 18 insertions, 0 deletions
diff --git a/dbus/dbus-errors.c b/dbus/dbus-errors.c index 3df58da0..a679e6c6 100644 --- a/dbus/dbus-errors.c +++ b/dbus/dbus-errors.c @@ -42,6 +42,11 @@ * if (result != DBUS_RESULT_SUCCESS) * printf ("an error occurred\n"); * @endcode + * + * @todo add docs with DBusError + * + * @todo add dbus_error_is_set() to check + * whether an error is set. * * @{ */ @@ -52,6 +57,14 @@ typedef struct char *message; /**< error message */ unsigned int const_message : 1; /** Message is not owned by DBusError */ + + unsigned int dummy2 : 1; /**< placeholder */ + unsigned int dummy3 : 1; /**< placeholder */ + unsigned int dummy4 : 1; /**< placeholder */ + unsigned int dummy5 : 1; /**< placeholder */ + + void *padding1; /**< placeholder */ + } DBusRealError; /** diff --git a/dbus/dbus-errors.h b/dbus/dbus-errors.h index 45cedc54..639c6a70 100644 --- a/dbus/dbus-errors.h +++ b/dbus/dbus-errors.h @@ -42,6 +42,11 @@ struct DBusError unsigned int dummy1 : 1; /**< placeholder */ unsigned int dummy2 : 1; /**< placeholder */ + unsigned int dummy3 : 1; /**< placeholder */ + unsigned int dummy4 : 1; /**< placeholder */ + unsigned int dummy5 : 1; /**< placeholder */ + + void *padding1; /**< placeholder */ }; typedef enum |