mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-06-19 21:18:30 +02:00
Rename DBUS_ERROR_INITIALIZER to DBUS_ERROR_INIT per Havoc's review
This commit is contained in:
parent
262c02a9fa
commit
a18ebe81bd
2 changed files with 3 additions and 3 deletions
|
|
@ -36,13 +36,13 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @def DBUS_ERROR_INITIALIZER
|
||||
* @def DBUS_ERROR_INIT
|
||||
*
|
||||
* Expands to a suitable initializer for a DBusError on the stack.
|
||||
* Declaring a DBusError with:
|
||||
*
|
||||
* @code
|
||||
* DBusError error = DBUS_ERROR_INITIALIZER;
|
||||
* DBusError error = DBUS_ERROR_INIT;
|
||||
*
|
||||
* do_things_with (&error);
|
||||
* @endcode
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ struct DBusError
|
|||
void *padding1; /**< placeholder */
|
||||
};
|
||||
|
||||
#define DBUS_ERROR_INITIALIZER { NULL, NULL, 0, 0, 0, 0, 0, NULL }
|
||||
#define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL }
|
||||
|
||||
void dbus_error_init (DBusError *error);
|
||||
void dbus_error_free (DBusError *error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue