Commit baffedba authored by Ralf Habacker's avatar Ralf Habacker

Merge branch 'fix_1' into 'master'

doxygen: fix example for dbus_message_append_args

See merge request !126
parents 9458bd70 e6b8022c
Pipeline #65567 passed with stage
in 12 minutes and 11 seconds
......@@ -1784,10 +1784,16 @@ dbus_message_get_type (DBusMessage *message)
* To append an array of fixed-length basic types (except Unix file
* descriptors), pass in the DBUS_TYPE_ARRAY typecode, the element
* typecode, the address of the array pointer, and a 32-bit integer
* giving the number of elements in the array. So for example: @code
* const dbus_int32_t array[] = { 1, 2, 3 }; const dbus_int32_t
* *v_ARRAY = array; dbus_message_append_args (message,
* DBUS_TYPE_ARRAY, DBUS_TYPE_INT32, &v_ARRAY, 3, DBUS_TYPE_INVALID);
* giving the number of elements in the array. So for example:
*
* @code
*
* const dbus_int32_t array[] = { 1, 2, 3 };
* const dbus_int32_t *v_ARRAY = array;
* dbus_message_append_args (message,
* DBUS_TYPE_ARRAY, DBUS_TYPE_INT32, &v_ARRAY, 3,
* DBUS_TYPE_INVALID);
*
* @endcode
*
* This function does not support arrays of Unix file descriptors. If
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment