Backed out changeset b71c8c052463 (bug 1943846) for causing mass failures. CLOSED...
[gecko.git] / widget / gtk / wayland / xdg-dbus-annotation-v1-protocol.c
blobaf51b3b0e8d320f8c14f65c477ce360c0ed65ff9
1 /* Generated by wayland-scanner 1.19.0 */
3 /*
4 * Copyright © 2017 David Edmundson
5 * Copyrihgt © 2023 Janet Blackquill
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
10 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
14 * The above copyright notice and this permission notice (including the next
15 * paragraph) shall be included in all copies or substantial portions of the
16 * Software.
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
24 * DEALINGS IN THE SOFTWARE.
27 #include <stdlib.h>
28 #include <stdint.h>
29 #include "wayland-util.h"
31 #ifndef __has_attribute
32 # define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */
33 #endif
35 #if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)
36 # define WL_PRIVATE __attribute__((visibility("hidden")))
37 #else
38 # define WL_PRIVATE
39 #endif
41 #pragma GCC visibility push(default)
42 extern const struct wl_interface wl_surface_interface;
43 #pragma GCC visibility pop
44 extern const struct wl_interface xdg_dbus_annotation_v1_interface;
46 static const struct wl_interface* xdg_dbus_annotation_v1_types[] = {
47 NULL,
48 NULL,
49 NULL,
50 &xdg_dbus_annotation_v1_interface,
51 NULL,
52 &xdg_dbus_annotation_v1_interface,
53 &wl_surface_interface,
56 static const struct wl_message xdg_dbus_annotation_manager_v1_requests[] = {
57 {"destroy", "", xdg_dbus_annotation_v1_types + 0},
58 {"create_client", "sn", xdg_dbus_annotation_v1_types + 2},
59 {"create_surface", "sno", xdg_dbus_annotation_v1_types + 4},
62 WL_PRIVATE const struct wl_interface xdg_dbus_annotation_manager_v1_interface =
64 "xdg_dbus_annotation_manager_v1", 1, 3,
65 xdg_dbus_annotation_manager_v1_requests, 0, NULL,
68 static const struct wl_message xdg_dbus_annotation_v1_requests[] = {
69 {"destroy", "", xdg_dbus_annotation_v1_types + 0},
70 {"set_address", "ss", xdg_dbus_annotation_v1_types + 0},
73 WL_PRIVATE const struct wl_interface xdg_dbus_annotation_v1_interface = {
74 "xdg_dbus_annotation_v1", 1, 2, xdg_dbus_annotation_v1_requests, 0, NULL,