diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-04-11 09:05:05 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-04-11 16:51:04 -0700 |
commit | 6341289b4934e5d9ead9eba8aaa7af9f62fe1d1f (patch) | |
tree | e6787f6ba425dea3fc21cf9364f2eb87a0ef7b0f | |
parent | 57790f8105a70d7604ddcf6d6bd62d5776938ab3 (diff) |
native: Rename fields native_x.wayland_x -> native_x.wl_x
I prefer self->wl->wl_display to self->wayland->wayland_display.
The former is nicer to my fingers.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | src/waffle/native.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/waffle/native.h b/src/waffle/native.h index dc790b3..aa91901 100644 --- a/src/waffle/native.h +++ b/src/waffle/native.h @@ -31,7 +31,7 @@ struct wcore_config_attrs; struct droid_##name *droid; \ struct glx_##name *glx; \ struct mac_##name *mac; \ - struct wayland_##name *wayland; \ + struct wayland_##name *wl; \ struct xegl_##name *xegl; \ } @@ -44,7 +44,7 @@ NATIVE_UNION(window); /// @brief Allocate a `union native_?`. /// /// @param x must have type `union native_?`. -/// @param platform is one of droid, glx, mac, wayland, xegl. +/// @param platform is one of droid, glx, mac, wl, xegl. #define NATIVE_ALLOC(x, platform) \ do { \ x = calloc(1, sizeof(*x) + sizeof(*x->platform)); \ |