24 #ifndef SDL_WAYLAND_MODULE 25 #define SDL_WAYLAND_MODULE(modname) 28 #ifndef SDL_WAYLAND_SYM 29 #define SDL_WAYLAND_SYM(rc,fn,params) 32 #ifndef SDL_WAYLAND_INTERFACE 33 #define SDL_WAYLAND_INTERFACE(iface) 38 SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_create, (struct wl_proxy *, const struct wl_interface *))
40 SDL_WAYLAND_SYM(
int, wl_proxy_add_listener, (struct wl_proxy *,
void (**)(
void),
void *))
41 SDL_WAYLAND_SYM(
void, wl_proxy_set_user_data, (struct wl_proxy *,
void *))
45 SDL_WAYLAND_SYM(
void, wl_proxy_set_queue, (struct wl_proxy *, struct wl_event_queue *))
46 SDL_WAYLAND_SYM(struct wl_display *, wl_display_connect, (const
char *))
51 SDL_WAYLAND_SYM(
int, wl_display_dispatch_queue, (struct wl_display *, struct wl_event_queue *))
52 SDL_WAYLAND_SYM(
int, wl_display_dispatch_queue_pending, (struct wl_display *, struct wl_event_queue *))
53 SDL_WAYLAND_SYM(
int, wl_display_dispatch_pending, (struct wl_display *))
57 SDL_WAYLAND_SYM(struct wl_event_queue *, wl_display_create_queue, (struct wl_display *))
60 SDL_WAYLAND_SYM(
void, wl_list_insert, (struct wl_list *, struct wl_list *) )
64 SDL_WAYLAND_SYM(
void, wl_list_insert_list, (struct wl_list *, struct wl_list *))
68 SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor, (struct wl_proxy *, uint32_t opcode, const struct wl_interface *interface, ...))
71 SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor_versioned, (struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version, ...))
92 SDL_WAYLAND_SYM(struct wl_egl_window *, wl_egl_window_create, (struct wl_surface *,
int,
int))
94 SDL_WAYLAND_SYM(
void, wl_egl_window_resize, (struct wl_egl_window *,
int,
int,
int,
int))
95 SDL_WAYLAND_SYM(
void, wl_egl_window_get_attached_size, (struct wl_egl_window *,
int *,
int *))
98 SDL_WAYLAND_SYM(struct wl_cursor_theme *, wl_cursor_theme_load, (const
char *,
int , struct wl_shm *))
99 SDL_WAYLAND_SYM(
void, wl_cursor_theme_destroy, (struct wl_cursor_theme *))
100 SDL_WAYLAND_SYM(struct wl_cursor *, wl_cursor_theme_get_cursor, (struct wl_cursor_theme *, const
char *))
101 SDL_WAYLAND_SYM(struct wl_buffer *, wl_cursor_image_get_buffer, (struct wl_cursor_image *))
105 SDL_WAYLAND_SYM(
int, xkb_state_key_get_syms, (struct xkb_state *, xkb_keycode_t, const xkb_keysym_t **))
106 SDL_WAYLAND_SYM(
int, xkb_keysym_to_utf8, (xkb_keysym_t,
char *,
size_t) )
107 SDL_WAYLAND_SYM(struct xkb_keymap *, xkb_keymap_new_from_string, (struct xkb_context *, const
char *, enum xkb_keymap_format, enum xkb_keymap_compile_flags))
108 SDL_WAYLAND_SYM(struct xkb_state *, xkb_state_new, (struct xkb_keymap *) )
119 xkb_layout_index_t locked_layout) )
121 #undef SDL_WAYLAND_MODULE 122 #undef SDL_WAYLAND_SYM 123 #undef SDL_WAYLAND_INTERFACE const struct wl_interface wl_registry_interface
const struct wl_interface wl_data_source_interface
const struct wl_interface wl_shm_interface
struct xkb_state xkb_mod_mask_t xkb_mod_mask_t latched_mods
const struct wl_interface wl_pointer_interface
struct xkb_state xkb_mod_mask_t depressed_mods
struct xkb_state xkb_mod_mask_t xkb_mod_mask_t xkb_mod_mask_t locked_mods
const struct wl_interface wl_shm_pool_interface
struct xkb_state xkb_mod_mask_t xkb_mod_mask_t xkb_mod_mask_t xkb_layout_index_t depressed_layout
const struct wl_interface wl_keyboard_interface
const struct wl_interface wl_data_device_interface
const struct wl_interface wl_output_interface
const struct wl_interface wl_region_interface
const struct wl_interface wl_surface_interface
const struct wl_interface wl_data_offer_interface
const struct wl_interface wl_buffer_interface
#define SDL_WAYLAND_SYM(rc, fn, params)
const struct wl_interface wl_shell_surface_interface
#define SDL_WAYLAND_MODULE(modname)
const struct wl_interface wl_compositor_interface
const struct wl_interface wl_shell_interface
const struct wl_interface wl_seat_interface
struct xkb_state xkb_mod_mask_t xkb_mod_mask_t xkb_mod_mask_t xkb_layout_index_t xkb_layout_index_t latched_layout
const struct wl_interface wl_data_device_manager_interface
#define SDL_WAYLAND_INTERFACE(iface)