WAFFLE_WAYLAND_SYM(struct wl_display *, wl_display_connect, (const char *name))
WAFFLE_WAYLAND_SYM(void, wl_display_disconnect, (struct wl_display *display))

WAFFLE_WAYLAND_SYM(int, wl_display_roundtrip, (struct wl_display *display))

WAFFLE_WAYLAND_SYM(void, wl_proxy_destroy, (struct wl_proxy *proxy))

WAFFLE_WAYLAND_SYM(int, wl_proxy_add_listener, (struct wl_proxy *proxy,
                                                void (**implementation)(void),
                                                void *data))

WAFFLE_WAYLAND_SYM(void, wl_proxy_set_user_data, (struct wl_proxy *proxy,
                                                  void *user_data))

WAFFLE_WAYLAND_SYM(void *, wl_proxy_get_user_data, (struct wl_proxy *proxy))

WAFFLE_WAYLAND_SYM(uint32_t, wl_proxy_get_version, (struct wl_proxy *proxy))

WAFFLE_WAYLAND_SYM(void, wl_proxy_marshal, (struct wl_proxy *p,
                                            uint32_t opcode, ...))

WAFFLE_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor,
                   (struct wl_proxy *proxy, uint32_t opcode,
                    const struct wl_interface *interface, ...))

WAFFLE_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, ...))

#if WAYLAND_VERSION_MAJOR == 1 &&                                              \
    (WAYLAND_VERSION_MINOR > 19 ||                                             \
     (WAYLAND_VERSION_MINOR == 19 && WAYLAND_VERSION_MICRO >= 91))
WAFFLE_WAYLAND_SYM(struct wl_proxy *,
                   wl_proxy_marshal_flags,
                   (struct wl_proxy * p,
                    uint32_t opcode,
                    const struct wl_interface *interface,
                    uint32_t version,
                    uint32_t flags,
                    ...))

WAFFLE_WAYLAND_SYM(struct wl_proxy *,
                   wl_proxy_marshal_array_flags,
                   (struct wl_proxy * p,
                    uint32_t opcode,
                    const struct wl_interface *interface,
                    uint32_t version,
                    uint32_t flags,
                    union wl_argument *args))
#endif
