"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dbus/dbus-dataslot.c" between
dbus-1.13.12.tar.xz and dbus-1.13.14.tar.xz

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. Development version.

dbus-dataslot.c  (dbus-1.13.12.tar.xz):dbus-dataslot.c  (dbus-1.13.14.tar.xz)
skipping to change at line 356 skipping to change at line 356
list->slots = NULL; list->slots = NULL;
list->n_slots = 0; list->n_slots = 0;
} }
/** @} */ /** @} */
#ifdef DBUS_ENABLE_EMBEDDED_TESTS #ifdef DBUS_ENABLE_EMBEDDED_TESTS
#include "dbus-test.h" #include "dbus-test.h"
#include <stdio.h> #include <stdio.h>
/* Test-only, does not need to be thread-safe */
static int free_counter; static int free_counter;
static void static void
test_free_slot_data_func (void *data) test_free_slot_data_func (void *data)
{ {
int i = _DBUS_POINTER_TO_INT (data); int i = _DBUS_POINTER_TO_INT (data);
_dbus_assert (free_counter == i); _dbus_assert (free_counter == i);
++free_counter; ++free_counter;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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