#ifndef YASL_NATIVE_WAYLAND_H #define YASL_NATIVE_WAYLAND_H #include "yasl/yasl.h" struct wl_display; struct wl_surface; #ifdef __cplusplus extern "C" { #endif /** Borrowed handles; never dispatch or close native connections independently. */ YASL_API struct wl_display *yasl_wayland_display(const yasl_surface *surface); YASL_API struct wl_surface *yasl_wayland_surface(const yasl_surface *surface); #ifdef __cplusplus } #endif #endif