+
+
+#define TDM_WAYLAND_LOGGER ((WAYLAND_VERSION_MAJOR == 1) && (WAYLAND_VERSION_MINOR > 11))
+
+#if !TDM_WAYLAND_LOGGER
+#ifndef WL_CLOSURE_MAX_ARGS
+#define WL_CLOSURE_MAX_ARGS 20
+#endif
+
+struct wl_closure {
+ int count;
+ const struct wl_message *message;
+ uint32_t opcode;
+ uint32_t sender_id;
+ union wl_argument args[WL_CLOSURE_MAX_ARGS];
+ struct wl_list link;
+ struct wl_proxy *proxy;
+ struct wl_array extra[0];
+};
+#endif /* TDM_WAYLAND_LOGGER */
+
+struct argument_details {
+ char type;
+ int nullable;
+};
+
+