neuwld

patched neuwld library (tracked)
git clone https://git.daat.foo/neuwld.git
Log | Files | Refs | README | LICENSE

commit 9aeb7258efaa2b46f0d5331152a287ccf135e954
parent c53915e66a530facebdaae94e0f418be6dc1fafa
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 14 Jan 2014 01:36:54 -0800

wayland-shm: Use wld_wayland prefix as in wayland-drm

Diffstat:
Mwayland-shm.c | 6+++---
Mwayland-shm.h | 6+++---
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/wayland-shm.c b/wayland-shm.c @@ -57,7 +57,7 @@ static void registry_global_remove(void * data, struct wl_registry * registry, static void shm_format(void * data, struct wl_shm * wl, uint32_t format); const struct wld_wayland_interface wayland_shm_interface = { - .create_context = &wld_shm_create_context, + .create_context = &wld_wayland_shm_create_context, }; const static struct wl_registry_listener registry_listener = { @@ -83,8 +83,8 @@ static inline uint32_t wayland_format(uint32_t format) } EXPORT -struct wld_context * wld_shm_create_context(struct wl_display * display, - struct wl_event_queue * queue) +struct wld_context * wld_wayland_shm_create_context + (struct wl_display * display, struct wl_event_queue * queue) { struct shm_context * context; diff --git a/wayland-shm.h b/wayland-shm.h @@ -34,15 +34,15 @@ struct wl_event_queue; * Create a new WLD context which creates Wayland buffers through the wl_shm * interface, backed by Pixman images. */ -struct wld_context * wld_shm_create_context(struct wl_display * display, - struct wl_event_queue * queue); +struct wld_context * wld_wayland_shm_create_context + (struct wl_display * display, struct wl_event_queue * queue); /** * Check if the wl_shm global has the specified pixel format. * * @see enum wld_format */ -bool wld_shm_has_format(struct wld_context * context, uint32_t format); +bool wld_wayland_shm_has_format(struct wld_context * context, uint32_t format); #endif