server: Make wl_object and wl_resource opaque structs

With the work to add wl_resource accessors and port weston to use them,
we're ready to make wl_resource and wl_object opaque structs.  We keep
wl_buffer in the header for EGL stacks to use, but don't expose it by
default.  In time we'll remove it completely, but for now it provides a
transition paths for code that still uses wl_buffer.

Reviewed-by: Jason Ekstrand<jason@jlekstrand.net>
This commit is contained in:
Kristian Høgsberg 2013-06-27 20:09:18 -05:00
parent 2e07587443
commit d94a8722cb
11 changed files with 57 additions and 42 deletions

View file

@ -31,8 +31,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "wayland-server.h"
#include "wayland-private.h"
#include "wayland-server.h"
#include "test-runner.h"
struct client_destroy_listener {

View file

@ -32,8 +32,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "wayland-server.h"
#include "wayland-private.h"
#include "wayland-server.h"
#include "test-runner.h"
struct display_destroy_listener {

View file

@ -25,8 +25,9 @@
#include <assert.h>
#include <unistd.h>
#include <signal.h>
#include "wayland-server.h"
#include "wayland-private.h"
#include "wayland-server.h"
#include "test-runner.h"
static int