summaryrefslogtreecommitdiff
path: root/include/yasl/native/wayland.h
blob: 1b8881e79becc1a2ca21f1577e86eb1b2dabf141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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