From e058cd13e83d6df2357b0e151ce89c429767ff12 Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Thu, 12 Dec 2013 14:14:29 +0100 Subject: [PATCH] compositor: export weston_buffer_from_resource() This is needed to allow shell plugins to implement their own screenshooter. --- src/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 016f5140..47a806e5 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1442,7 +1442,7 @@ weston_buffer_destroy_handler(struct wl_listener *listener, void *data) free(buffer); } -struct weston_buffer * +WL_EXPORT struct weston_buffer * weston_buffer_from_resource(struct wl_resource *resource) { struct weston_buffer *buffer;