"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dbus/dbus-message.c" between
dbus-1.12.16.tar.gz and dbus-1.12.18.tar.gz

About: D-Bus is an inter-process communication (IPC) system, allowing multiple, concurrently-running applications to communicate with one another. D-Bus supplies both a system daemon and a per-user-login-session daemon.

dbus-message.c  (dbus-1.12.16):dbus-message.c  (dbus-1.12.18)
skipping to change at line 1774 skipping to change at line 1774
* const char *v_STRING = "Hello World"; * const char *v_STRING = "Hello World";
* dbus_message_append_args (message, * dbus_message_append_args (message,
* DBUS_TYPE_INT32, &v_INT32, * DBUS_TYPE_INT32, &v_INT32,
* DBUS_TYPE_STRING, &v_STRING, * DBUS_TYPE_STRING, &v_STRING,
* DBUS_TYPE_INVALID); * DBUS_TYPE_INVALID);
* @endcode * @endcode
* *
* To append an array of fixed-length basic types (except Unix file * To append an array of fixed-length basic types (except Unix file
* descriptors), pass in the DBUS_TYPE_ARRAY typecode, the element * descriptors), pass in the DBUS_TYPE_ARRAY typecode, the element
* typecode, the address of the array pointer, and a 32-bit integer * typecode, the address of the array pointer, and a 32-bit integer
* giving the number of elements in the array. So for example: @code * giving the number of elements in the array. So for example:
* const dbus_int32_t array[] = { 1, 2, 3 }; const dbus_int32_t *
* *v_ARRAY = array; dbus_message_append_args (message, * @code
* DBUS_TYPE_ARRAY, DBUS_TYPE_INT32, &v_ARRAY, 3, DBUS_TYPE_INVALID); *
* 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 * @endcode
* *
* This function does not support arrays of Unix file descriptors. If * This function does not support arrays of Unix file descriptors. If
* you need those you need to manually recurse into the array. * you need those you need to manually recurse into the array.
* *
* For Unix file descriptors this function will internally duplicate * For Unix file descriptors this function will internally duplicate
* the descriptor you passed in. Hence you may close the descriptor * the descriptor you passed in. Hence you may close the descriptor
* immediately after this call. * immediately after this call.
* *
* @warning in C, given "int array[]", "&array == array" (the * @warning in C, given "int array[]", "&array == array" (the
 End of changes. 1 change blocks. 
4 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)