15#ifdef WAYLAND_DYNLOAD_FN
46#elif defined(WAYLAND_DYNLOAD_IFACE)
68# if !defined(__WAYLAND_DYNLOAD_CLIENT_H__) || defined(WAYLAND_DYNLOAD_VALIDATE)
69# define __WAYLAND_DYNLOAD_CLIENT_H__
71# ifndef WAYLAND_DYNLOAD_VALIDATE
72# include <wayland-client-core.h>
77# ifndef WAYLAND_DYNLOAD_VALIDATE
78# define WL_DYN_FN(a) (*a)
80# define WL_DYN_FN(a) (a)
83# ifndef WAYLAND_DYNLOAD_VALIDATE
92 struct wl_event_queue *queue);
94 struct wl_event_queue *queue);
98 const struct wl_interface **interface,
102 struct wl_event_queue *queue);
110 void (**implementation)(void),
117 const struct wl_interface *interface,
123 const struct wl_interface *interface,
126 union wl_argument *args);
134# ifndef WAYLAND_DYNLOAD_VALIDATE
139# ifndef WAYLAND_DYNLOAD_VALIDATE
140# define wl_display_connect(...) (*wayland_dynload_client.wl_display_connect)(__VA_ARGS__)
141# define wl_display_disconnect(...) \
142 (*wayland_dynload_client.wl_display_disconnect)(__VA_ARGS__)
143# define wl_display_dispatch(...) (*wayland_dynload_client.wl_display_dispatch)(__VA_ARGS__)
144# define wl_display_dispatch_pending(...) \
145 (*wayland_dynload_client.wl_display_dispatch_pending)(__VA_ARGS__)
146# define wl_display_dispatch_queue(...) \
147 (*wayland_dynload_client.wl_display_dispatch_queue)(__VA_ARGS__)
148# define wl_display_dispatch_queue_pending(...) \
149 (*wayland_dynload_client.wl_display_dispatch_queue_pending)(__VA_ARGS__)
150# define wl_display_create_queue(...) \
151 (*wayland_dynload_client.wl_display_create_queue)(__VA_ARGS__)
152# define wl_display_get_fd(...) (*wayland_dynload_client.wl_display_get_fd)(__VA_ARGS__)
153# define wl_display_get_protocol_error(...) \
154 (*wayland_dynload_client.wl_display_get_protocol_error)(__VA_ARGS__)
155# define wl_display_prepare_read(...) \
156 (*wayland_dynload_client.wl_display_prepare_read)(__VA_ARGS__)
157# define wl_display_prepare_read_queue(...) \
158 (*wayland_dynload_client.wl_display_prepare_read_queue)(__VA_ARGS__)
159# define wl_display_read_events(...) \
160 (*wayland_dynload_client.wl_display_read_events)(__VA_ARGS__)
161# define wl_display_cancel_read(...) \
162 (*wayland_dynload_client.wl_display_cancel_read)(__VA_ARGS__)
163# define wl_display_roundtrip(...) (*wayland_dynload_client.wl_display_roundtrip)(__VA_ARGS__)
164# define wl_display_flush(...) (*wayland_dynload_client.wl_display_flush)(__VA_ARGS__)
165# define wl_display_get_error(...) (*wayland_dynload_client.wl_display_get_error)(__VA_ARGS__)
166# define wl_event_queue_destroy(...) \
167 (*wayland_dynload_client.wl_event_queue_destroy)(__VA_ARGS__)
168# define wl_log_set_handler_client(...) \
169 (*wayland_dynload_client.wl_log_set_handler_client)(__VA_ARGS__)
170# define wl_proxy_add_listener(...) \
171 (*wayland_dynload_client.wl_proxy_add_listener)(__VA_ARGS__)
172# define wl_proxy_create_wrapper(...) \
173 (*wayland_dynload_client.wl_proxy_create_wrapper)(__VA_ARGS__)
174# define wl_proxy_destroy(...) (*wayland_dynload_client.wl_proxy_destroy)(__VA_ARGS__)
175# define wl_proxy_wrapper_destroy(...) \
176 (*wayland_dynload_client.wl_proxy_wrapper_destroy)(__VA_ARGS__)
177# define wl_proxy_marshal_flags(...) \
178 (*wayland_dynload_client.wl_proxy_marshal_flags)(__VA_ARGS__)
179# define wl_proxy_marshal_array_flags(...) \
180 (*wayland_dynload_client.wl_proxy_marshal_array_flags)(__VA_ARGS__)
181# define wl_proxy_set_queue(...) (*wayland_dynload_client.wl_proxy_set_queue)(__VA_ARGS__)
182# define wl_proxy_set_user_data(...) \
183 (*wayland_dynload_client.wl_proxy_set_user_data)(__VA_ARGS__)
184# define wl_proxy_get_user_data(...) \
185 (*wayland_dynload_client.wl_proxy_get_user_data)(__VA_ARGS__)
186# define wl_proxy_get_version(...) (*wayland_dynload_client.wl_proxy_get_version)(__VA_ARGS__)
187# define wl_proxy_get_tag(...) (*wayland_dynload_client.wl_proxy_get_tag)(__VA_ARGS__)
188# define wl_proxy_set_tag(...) (*wayland_dynload_client.wl_proxy_set_tag)(__VA_ARGS__)
int WL_DYN_FN wl_proxy_add_listener(struct wl_proxy *proxy, void(**implementation)(void), void *data)
uint32_t WL_DYN_FN wl_proxy_get_version(struct wl_proxy *proxy)
void WL_DYN_FN wl_display_disconnect(struct wl_display *display)
void WL_DYN_FN wl_proxy_wrapper_destroy(void *proxy_wrapper)
uint32_t WL_DYN_FN wl_display_get_protocol_error(struct wl_display *display, const struct wl_interface **interface, uint32_t *id)
int WL_DYN_FN wl_display_dispatch(struct wl_display *display)
void WL_DYN_FN wl_proxy_set_user_data(struct wl_proxy *proxy, void *user_data)
void WL_DYN_FN wl_event_queue_destroy(struct wl_event_queue *queue)
void WL_DYN_FN wl_log_set_handler_client(wl_log_func_t)
struct wl_display *WL_DYN_FN wl_display_connect(const char *name)
const char *const *WL_DYN_FN wl_proxy_get_tag(struct wl_proxy *proxy)
void WL_DYN_FN wl_display_cancel_read(struct wl_display *display)
void WL_DYN_FN wl_proxy_set_queue(struct wl_proxy *proxy, struct wl_event_queue *queue)
struct wl_event_queue *WL_DYN_FN wl_display_create_queue(struct wl_display *display)
struct wl_proxy *WL_DYN_FN wl_proxy_marshal_array_flags(struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version, uint32_t flags, union wl_argument *args)
struct wl_proxy *WL_DYN_FN wl_proxy_marshal_flags(struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version, uint32_t flags,...)
int WL_DYN_FN wl_display_get_fd(struct wl_display *display)
int WL_DYN_FN wl_display_dispatch_queue_pending(struct wl_display *display, struct wl_event_queue *queue)
void WL_DYN_FN wl_proxy_set_tag(struct wl_proxy *proxy, const char *const *tag)
void WL_DYN_FN wl_proxy_destroy(struct wl_proxy *proxy)
int WL_DYN_FN wl_display_prepare_read(struct wl_display *display)
int WL_DYN_FN wl_display_dispatch_queue(struct wl_display *display, struct wl_event_queue *queue)
void *WL_DYN_FN wl_proxy_create_wrapper(void *proxy)
int WL_DYN_FN wl_display_get_error(struct wl_display *display)
int WL_DYN_FN wl_display_dispatch_pending(struct wl_display *display)
int WL_DYN_FN wl_display_flush(struct wl_display *display)
int WL_DYN_FN wl_display_read_events(struct wl_display *display)
int WL_DYN_FN wl_display_roundtrip(struct wl_display *display)
int WL_DYN_FN wl_display_prepare_read_queue(struct wl_display *display, struct wl_event_queue *queue)
void *WL_DYN_FN wl_proxy_get_user_data(struct wl_proxy *proxy)
#define WAYLAND_DYNLOAD_FN(symbol)
#define WAYLAND_DYNLOAD_IFACE(symbol)
#define wl_proxy_marshal_array_flags(...)
#define wl_proxy_get_tag(...)
#define wl_proxy_add_listener(...)
#define wl_display_dispatch_queue(...)
#define wl_display_connect(...)
#define wl_log_set_handler_client(...)
#define wl_display_dispatch_pending(...)
#define wl_proxy_set_tag(...)
#define wl_proxy_create_wrapper(...)
#define wl_proxy_get_user_data(...)
#define wl_display_get_error(...)
#define wl_display_cancel_read(...)
#define wl_display_dispatch(...)
#define wl_display_dispatch_queue_pending(...)
#define wl_display_get_fd(...)
#define wl_display_prepare_read_queue(...)
#define wl_display_prepare_read(...)
#define wl_display_create_queue(...)
#define wl_proxy_destroy(...)
#define wl_proxy_set_user_data(...)
#define wl_proxy_wrapper_destroy(...)
#define wl_display_flush(...)
#define wl_display_get_protocol_error(...)
#define wl_proxy_get_version(...)
#define wl_display_disconnect(...)
#define wl_display_read_events(...)
struct WaylandDynload_Client wayland_dynload_client
#define wl_proxy_set_queue(...)
#define wl_proxy_marshal_flags(...)
#define wl_display_roundtrip(...)
#define wl_event_queue_destroy(...)