mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-19 09:38:27 +02:00
2003-02-14 Havoc Pennington <hp@pobox.com>
* dbus/dbus-errors.h (struct DBusError): add a word of padding to DBusError
This commit is contained in:
parent
b822fb3913
commit
b544e59358
3 changed files with 23 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2003-02-14 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* dbus/dbus-errors.h (struct DBusError): add a word of padding
|
||||
to DBusError
|
||||
|
||||
2003-02-13 Anders Carlsson <andersca@codefactory.se>
|
||||
|
||||
* bus/driver.c: (bus_driver_handle_hello):
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue