]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
2003-02-14 Havoc Pennington <hp@pobox.com>
authorHavoc Pennington <hp@redhat.com>
Fri, 14 Feb 2003 04:12:28 +0000 (04:12 +0000)
committerHavoc Pennington <hp@redhat.com>
Fri, 14 Feb 2003 04:12:28 +0000 (04:12 +0000)
* dbus/dbus-errors.h (struct DBusError): add a word of padding
to DBusError

ChangeLog
dbus/dbus-errors.c
dbus/dbus-errors.h

index 7f2cb754cc9a1a79b629a1a74116973a7a9da3fe..b3516d566c1fb0bb887fe5e8d74b08c4f550fe31 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 3df58da0bf4aa885baf79d490de395d28cdb2cc4..a679e6c6ca0d87500c248f017d4c7558da8a7778 100644 (file)
  * 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;
 
 /**
index 45cedc5468a4563d88917821e5554c909d7867cc..639c6a7045caa81be7a2c13c7491ac1abe890e04 100644 (file)
@@ -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