commit 9aeb725

Michael Forney  ·  2014-01-14 09:36:54 +0000 UTC
parent c53915e
wayland-shm: Use wld_wayland prefix as in wayland-drm
2 files changed,  +6, -6
+3, -3
 1@@ -57,7 +57,7 @@ static void registry_global_remove(void * data, struct wl_registry * registry,
 2 static void shm_format(void * data, struct wl_shm * wl, uint32_t format);
 3 
 4 const struct wld_wayland_interface wayland_shm_interface = {
 5-    .create_context = &wld_shm_create_context,
 6+    .create_context = &wld_wayland_shm_create_context,
 7 };
 8 
 9 const static struct wl_registry_listener registry_listener = {
10@@ -83,8 +83,8 @@ static inline uint32_t wayland_format(uint32_t format)
11 }
12 
13 EXPORT
14-struct wld_context * wld_shm_create_context(struct wl_display * display,
15-                                            struct wl_event_queue * queue)
16+struct wld_context * wld_wayland_shm_create_context
17+    (struct wl_display * display, struct wl_event_queue * queue)
18 {
19     struct shm_context * context;
20 
+3, -3
 1@@ -34,15 +34,15 @@ struct wl_event_queue;
 2  * Create a new WLD context which creates Wayland buffers through the wl_shm
 3  * interface, backed by Pixman images.
 4  */
 5-struct wld_context * wld_shm_create_context(struct wl_display * display,
 6-                                            struct wl_event_queue * queue);
 7+struct wld_context * wld_wayland_shm_create_context
 8+    (struct wl_display * display, struct wl_event_queue * queue);
 9 
10 /**
11  * Check if the wl_shm global has the specified pixel format.
12  *
13  * @see enum wld_format
14  */
15-bool wld_shm_has_format(struct wld_context * context, uint32_t format);
16+bool wld_wayland_shm_has_format(struct wld_context * context, uint32_t format);
17 
18 #endif
19