diff options
| author | Yong Bakos <ybakos@humanoriented.com> | 2016-05-23 17:59:33 -0600 |
|---|---|---|
| committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-06-07 16:11:05 +0300 |
| commit | 826b16641ade360ee3d68f96eac168e08b56daae (patch) | |
| tree | f2f8ecbc75e17cec38a9abef9a226fa0bdcecdd1 /src/wayland-server.h | |
| parent | client-core: Add missing line breaks (diff) | |
| download | wayland-826b16641ade360ee3d68f96eac168e08b56daae.tar wayland-826b16641ade360ee3d68f96eac168e08b56daae.tar.gz wayland-826b16641ade360ee3d68f96eac168e08b56daae.tar.bz2 wayland-826b16641ade360ee3d68f96eac168e08b56daae.tar.lz wayland-826b16641ade360ee3d68f96eac168e08b56daae.tar.xz wayland-826b16641ade360ee3d68f96eac168e08b56daae.tar.zst wayland-826b16641ade360ee3d68f96eac168e08b56daae.zip | |
server, server-core: Minimize fwd decs, use macro, and format
wayland-server.h: Adjust line breaks between prototypes.
wayland-server-core.h:
Adjust line breaks between prototypes.
Adjust space between splats and identifiers.
Remove unconventional linebreak before first parameter.
Add line breaks after return types.
Remove unnecessary forward declarations, and:
- move 'struct wl_client' declaration close to the dependent typedef
- tastefully move 'wl_shm_buffer_get' to leverage the return type
Replace explicit __attribute__ with WL_PRINTF macro.
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'src/wayland-server.h')
| -rw-r--r-- | src/wayland-server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland-server.h b/src/wayland-server.h index 3124703..a6e7951 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -65,7 +65,6 @@ struct wl_buffer { uint32_t busy_count; } WL_DEPRECATED; - uint32_t wl_client_add_resource(struct wl_client *client, struct wl_resource *resource) WL_DEPRECATED; @@ -75,6 +74,7 @@ wl_client_add_object(struct wl_client *client, const struct wl_interface *interface, const void *implementation, uint32_t id, void *data) WL_DEPRECATED; + struct wl_resource * wl_client_new_object(struct wl_client *client, const struct wl_interface *interface, |
