Replace wl_container_of with pepper_container_of
authorTaekyun Kim <tkq.kim@samsung.com>
Thu, 4 Jun 2015 08:16:02 +0000 (17:16 +0900)
committerTaekyun Kim <tkq.kim@samsung.com>
Tue, 7 Jul 2015 06:56:49 +0000 (15:56 +0900)
commitcaf262447de4fadc59b82d5f378e5920d0ca7287
tree69acbf10741e26f3387e366ae0ee75637c0cad68
parent2fbde1a2c42a4ec9a6941b9d1508495853cdb7a1
Replace wl_container_of with pepper_container_of

wl_container_of requires a variable to be declared to get the pointer to the
container. We can avoid this by using pepper_container_of by giving a type name
instead of the variable name.

Change-Id: I9afbe84f3177e41e577f0c9d6cad628e9216ceb3
13 files changed:
desktop-shell/src/shell-surface.c
pepper/src/buffer.c
pepper/src/data-device.c
pepper/src/input.c
pepper/src/layer.c
pepper/src/output.c
pepper/src/pepper.h
pepper/src/surface.c
pepper/src/view.c
render/src/gl-renderer.c
render/src/pixman-renderer.c
wayland/src/wayland-output.c
x11/src/x11-output.c