"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/data/small-code.c" between
wayland-1.17.0.tar.xz and wayland-1.18.0.tar.xz

About: Wayland is a computer display server protocol for a compositor to talk to its clients and a library for Linux implementing that protocol.

small-code.c  (wayland-1.17.0.tar.xz):small-code.c  (wayland-1.18.0.tar.xz)
skipping to change at line 35 skipping to change at line 35
* SOFTWARE. * SOFTWARE.
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
#include "wayland-util.h" #include "wayland-util.h"
extern const struct wl_interface another_intf_interface; extern const struct wl_interface another_intf_interface;
extern const struct wl_interface intf_not_here_interface; extern const struct wl_interface intf_not_here_interface;
static const struct wl_interface *types[] = { static const struct wl_interface *small_test_types[] = {
NULL, NULL,
&intf_not_here_interface, &intf_not_here_interface,
NULL, NULL,
NULL, NULL,
NULL, NULL,
NULL, NULL,
NULL, NULL,
&another_intf_interface, &another_intf_interface,
}; };
static const struct wl_message intf_A_requests[] = { static const struct wl_message intf_A_requests[] = {
{ "rq1", "sun", types + 0 }, { "rq1", "sun", small_test_types + 0 },
{ "rq2", "nsiufho", types + 1 }, { "rq2", "nsiufho", small_test_types + 1 },
{ "destroy", "", types + 0 }, { "destroy", "", small_test_types + 0 },
}; };
static const struct wl_message intf_A_events[] = { static const struct wl_message intf_A_events[] = {
{ "hey", "", types + 0 }, { "hey", "", small_test_types + 0 },
}; };
WL_EXPORT const struct wl_interface intf_A_interface = { WL_EXPORT const struct wl_interface intf_A_interface = {
"intf_A", 3, "intf_A", 3,
3, intf_A_requests, 3, intf_A_requests,
1, intf_A_events, 1, intf_A_events,
}; };
 End of changes. 3 change blocks. 
5 lines changed or deleted 5 lines changed or added

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